I am not able to set up smtp on Openshift Grafana V 5.18

  • What Grafana version and what operating system are you using?
    Grafana V 5.18 Installed alongwith MAS.
  • What are you trying to achieve?
    I am trying to set up Alerts using contact points .
  • How are you trying to achieve it?
    I have created contact points and added email address.
  • What happened?
    When I click test button I get an error failed to test an alert. SMTP not configured check your grafana.ini.
  • What did you expect to happen?
    I was expecting test email sent.
  • Can you copy/paste the configuration(s) that you are having problems with?
    Since Grafa is installed on OpenShift. I tried to set up [smtp} parametr in grafan.ini configmap also as environment variable but all parameters are getting reset back.
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No. errors but grafan.ini and default.ini file on Grafana POD terminal are read only and I can not add any parameter.
  • Did you follow any online instructions? If so, what is the URL?
  • Yes. I followed Configure Grafana - Configure Grafana | Grafana documentation.
    Configure Grafana Docker image - Configure a Grafana Docker image | Grafana documentation
    I tried to update ConfigMap with smtp environment variable like GF_SMTP_ENABLED, GF_SMTP_HOST nothing is working in openshift.