-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[patroni] Support updating database credentials via chart upgrade #2636
Comments
Do you find any workaround for this issue ? No password change, and if i upgrade my application, following request has been refused: 'authentication failed' |
I'm having the same issue with both postgres and redis. Here is a shorter reproduction showing the password changing in the secrets store after an upgrade. I'm using redis in this example because the password is saved as clear text in the config, so it's easier to see what's going on.
A not so optimal fix is not using the random password generation, and instead hardcode a password in the password parameter, i.e. |
Just found the related issue in helm/helm#3053 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
This issue is being automatically closed due to inactivity. |
Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug report
Version of Helm and Kubernetes:
Helm 2.7.0
Kubernetes 1.8.1-gke1
Which chart:
patroni
What happened:
helm install/upgrade of release succeeds and all pods start correctly, but connection to postgres using "to connect to your database" post-helm-install text fails with
when attempting to connect as superuser.
This occurs when installing/upgrading a release name which has already has this chart installed to it currently/previously (i.e. purged)
What you expected to happen:
I expected to be able to connect to postgres
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
n/a
The text was updated successfully, but these errors were encountered: