helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[prometheus-kube-stack] Grafana sending emails to [email protected]

Open mindrunner opened this issue 3 years ago • 2 comments

Describe the bug a clear and concise description of what the bug is.

Just recently Grafana started to send alert emails to an default address (see screenshot). Could not find a straight forward way to change this setting in values.yaml. Is this expected behaviour? Any advice?

image

What's your helm version?

version.BuildInfo{Version:"v3.9.0", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.18.2"}

What's your kubectl version?

Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.2", GitCommit:"f66044f4361b9f1f96f0053dd46cb7dce5e990a8", GitTreeState:"archive", BuildDate:"2022-06-18T07:33:51Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.4 Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.8", GitCommit:"bd30c9fbc8dc9668d7ab4b0bd4fdab5c929c1ad7", GitTreeState:"clean", BuildDate:"2022-06-21T17:15:16Z", GoVersion:"go1.17.11", Compiler:"gc", Platform:"linux/amd64"}

Which chart?

prometheus-kube-stack

What's the chart version?

39.2.0

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

helm upgrade --install --version=39.2.0 -n ${PROJECT_NAMESPACE} --create-namespace --values=build/helm/dist/values.yaml ${PROJECT_NAME} prometheus-community/kube-prometheus-stack

Anything else we need to know?

No response

mindrunner avatar Aug 02 '22 16:08 mindrunner

I faced the same issue, and went looking. Looks like the upstream grafana binary on the main branch has the alertmanager_config baked in, and it has not yet been exposed to the outside world via the grafana configuration settings

https://github.com/grafana/grafana/blob/main/pkg/setting/setting_unified_alerting.go#L25

makeittotop avatar Aug 09 '22 16:08 makeittotop

Yea, saw that as well. I guess, this needs to be moved to https://github.com/grafana/helm-charts

mindrunner avatar Aug 09 '22 20:08 mindrunner

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Sep 16 '22 01:09 stale[bot]