grafana / helm-charts

Apache License 2.0
1.67k stars 2.28k forks source link

Grafana secret updates even if there is an previous one #3399

Closed imilanovic closed 1 week ago

imilanovic commented 3 weeks ago

I installed Grafana over Helm in ArgoCD and after few days secret with admin password is OutOfSync because admin password is updated. I disabled prune in ArgoCD app because updating secrets triggers deployment restart. Do you know why we have recreating admin pass in secret?

imilanovic commented 2 weeks ago

It looks that on every ArgoCD hard refresh secret is changed even it there is an condition in Helm

https://github.com/grafana/helm-charts/blob/23a0a9ff5bcb9e73eeff5a5eca19d40ed29015c4/charts/grafana/templates/_helpers.tpl#L111

imilanovic commented 1 week ago

I am closing this ticket since this is an issue with ArgoCD https://github.com/argoproj/argo-cd/issues/5202