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

[pgadmin4] unable to set default email & password

Open krishnaTORQUE opened this issue 1 year ago • 1 comments

Describe the bug Unable to set default email & password in pgadmin helm chart.

helm install pgadmin runix/pgadmin4 --set env.email="[email protected]" --set env.password="test-password"

Version of Helm and Kubernetes: helm: 3.12 kubernetes: 1.27

Which chart: pgadmin4

What happened: after set default email & password I am still unable to login into pgadmin. Showing error. invalid username & password

What you expected to happen: I should login without any error

How to reproduce it (as minimally and precisely as possible): I give a code snippet

Anything else we need to know: no

krishnaTORQUE avatar May 16 '23 09:05 krishnaTORQUE

I've hit the same problem.

This usually is related to an existing persistent volume from prior deployments. pgadmin4 stores the credentials on this persistent volume.

Please check if your cluster contains a <release-name>-admin-pgadmin4 persistent volume claim and delete this prior to deploying pgadmin with different credentials.

Changing credentials on the fly is something, that needs to be supported but seems to not be supported judging from the source code.

chronicc avatar Jun 13 '23 12:06 chronicc