<p>I used HELM to install the Prometheus operator and kube-prometheus into my kubernetes cluster using the following commands:</p>

<pre><code>helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring --set rbacEnable=false
helm install coreos/kube-prometheus --name kube-prometheus --set global.rbacEnable=false --namespace monitoring 
</code></pre>

<p>Everything is running fine, however, I want to set up email alerts and in order to do so I must configure the SMTP settings in "custom.ini" file according to the grafana website. I am fairly new to Kuberenetes and using HELM charts, therefore I have no idea which command I would use to access this file or make updates to it? Is it possible to do so without having to redeploy?</p>

<p>Can anyone provide me with a command to update custom values?</p>

Josh L
<p>You could pass <code>grafana.env</code> <a href="https://github.com/helm/charts/tree/master/stable/grafana#configuration" rel="nofollow noreferrer">value</a> to add <a href="http://docs.grafana.org/installation/configuration/" rel="nofollow noreferrer">SMTP-related settings</a>:</p>

<p>GF_SMTP_ENABLED=true,GF_SMTP_HOST,GF_SMTP_USER and GF_SMTP_PASSWORD</p>

<p>should do the trick. The <code>prometheus-operator</code> chart relies on the upstream <code>stable/grafana</code> chart (although, <a href="https://github.com/helm/charts/blob/master/stable/prometheus-operator/requirements.lock" rel="nofollow noreferrer">still using the 1.25 version</a>)</p>
