-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where do I configure SMTP #42
Comments
If you are using the helm charts of the prometheus operator repository then this repository has nothing to do with what you are deploying, this repository is only relevant if you are using jsonnet to render the manifests. |
Are you sure you are using the jsonnet based stack? You mentioned helm in the original issue. This is not helm. |
The mention of helm was the directory location. The original install was "prometheus-operator" When I posted there I was given a link and told to post here. prometheus-operator/prometheus-operator#1972. |
If you are using helm, then you cannot use that, you must use the jsonnet based stack: https://github.com/coreos/prometheus-operator/tree/master/contrib/kube-prometheus |
I have these 2 files, prometheus-operator.jsonnet prometheus-operator-rbac.jsonnet, neither appear to have the correct context for SMTP. |
Those are unrelated. I encourage you to go through the readme in the link I posted above. |
Once you have set these paths inside the Grafana config you need to mount those, correct. Openshift's cluster-monitoring-operator is a good example: You already have the configuration extended: Want you need is to extend the deployment itself: |
I have been unable to determine where I configure SMTP. I have checked all the yaml and config files in /prometheus-operator and reviewed the value.ini in /prometheus-operator/helm/grafana. Am I supposed to create the grafana.ini or is there another file this configuration gets added to?
My Alert manager pod is running and sendmail is configured, but I still get an error when I try to send a test message that SMTP is not configured in grafana.ini.
Thanks
The text was updated successfully, but these errors were encountered: