This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
[stable/grafana] During upgrade, password changes in secret but not in grafana #23272
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Hello,
Describe the bug
When we upgrade grafana (with helm upgrade --install stable/grafana) the secret changes but if the release is not new, the new password is not taken into account.
Version of Helm and Kubernetes:
Helm : v3.2.0
Kubernetes : Client v1.18.3 Server v1.14.10-gke.36
Which chart:
stable/grafana, chart version 5.3.5
What happened:
The secret that we can retrieve with
kubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
from the printed message changed, but grafana only accepted the old password...not retrievable anymore.What you expected to happen:
The password should probably not change during upgrade, so the secret should stay the same.
How to reproduce it (as minimally and precisely as possible):
kubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
, you should be able to connect with itkubectl get secret --namespace monitoring grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
will give you a different result, and the old one is still the valid password.Best regards, Antonin
The text was updated successfully, but these errors were encountered: