[bitnami/postgresql] PostgreSQL passwords stops working after a few days #29758
Labels
solved
stale
15 days without activity
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/postgresql 12.12.10
What architecture are you using?
arm64
What steps will reproduce the bug?
I am using ArgoCD to try to install this chart, using these values:
The secrets for the passwords I create with the following template:
What do you see instead?
Despite not doing any manual changes, I am experiencing an issue with the app's inability to connect to the PostgreSQL server after a few days. When attempting to connect to the PostgreSQL server manually, the environment variables POSTGRES_PASSWORD and POSTGRES_POSTGRES_PASSWORD still match the originally set passwords from the secrets. However, I am unable to connect locally using these credentials, even though it was working when I initially deployed everything.
I have attempted to resolve the issue by setting it up initially and then restarting each Pod, but it does not seem to have been connected to the problem.
I suspect that when there is a new version of the Helm Chart, which I upgrade automatically, it may be causing some changes and possibly setting a new password. However, I am unable to confirm my suspicions at this time.
I found this issue #28893, which goes a bit in this direction but do not understand what exactly the fix was.
Additional information
I have the same problem also when trying to deploy Next Cloud. The PostgreSQL password just changes after some time.
The text was updated successfully, but these errors were encountered: