do-community / doks-monitoring

DigitalOcean Kubernetes Cluster Monitoring Quickstart
Apache License 2.0
112 stars 69 forks source link

Password is incorrect in Grafana #1

Closed Bram-Zijp closed 4 years ago

Bram-Zijp commented 5 years ago

Somehow the password is not being set properly in Grafana. I verified if the password is correct in the secret and this was the case. I exec'd into the grafan pod to echo the password from the environment variable and this was correct. I also tried to exec into the grafana pod and using the grafana cli to set the password. After that I could login with the new password. Both passwords contained numbers, lowercase letters and uppercase letters and a dash sign.

hjet commented 5 years ago

Hi Bram-Zijp, thank you for filing this issue!

Did you end up resolving this? Unfortunately I am not able to replicate the behavior you are describing. Did you base64-encode the password stored in the GRAFANA_GENERATED_PASSWORD environment variable before deploying the stack? This feels to me like it could be some sort of encoding/decoding issue?

Bram-Zijp commented 5 years ago

I will retry by setting the namespace properly as adviced in #2. I might have missed the part where you need to change the namespace.

hjet commented 4 years ago

Closing due to inactivity. Feel free to reopen if you can replicate this issue!