Grafana Password getting expired every 15 days

I have installed Grafana using Helm chart. I could see the password gets expired every 10 to 15 days. Is there any way to stop this.

I have to do a password rest using script and all the data is getting cleared out.

I am using Grafana 8.4.5 in Azure Kubernetes. My Grafana is running as a POD. I use promethes as datascource.

welcome to the :grafana: forum, @nsidsri

have you set up any persistent volumes so that Grafana can persist its state?

Hello @mattabrams

Thank you very much for looking into this. Yes we do have a persistance volume setup for Grafana.

When Grafana was installed we didn’t know what the default password is so we used a script to change the password and set our own. Does this cause any issue ?

kubectl exec -it grafana-podname -n namespace grafana-cli admin reset-admin-password admin

default username: pass for every new grafana instance is admin : admin.

hmmm. when you say all the data is getting cleared out what do you mean?

maybe after the next reset try avoiding the script?

also are you using any special kind of authentication model?

Thank you so much @mattabrams , We did have PVC but it was not menitoned in the Grafana deployment file. We have added the PVC name now. Hopefully this should work.