Helm Chart upgrade ist nicht möglich wegen Postgres Passwörter
Description of the bug:
Die Helm-Charts, die Bitnami postgresql als Dependency haben, können nicht aktualisiert werden. Es kommt zu folgendem Fehler:
Error: UPGRADE FAILED: execution error at (oauth-server/charts/postgresql/templates/secrets.yaml:23:16):
PASSWORDS ERROR: You must provide your current passwords when upgrading the release.
Note that even after reinstallation, old credentials may be needed as they may be kept in persistent volume claims.
Further information can be obtained at https://docs.bitnami.com/general/how-to/troubleshoot-helm-chart-issues/#credential-errors-while-upgrading-chart-releases
'global.postgresql.auth.password' must not be empty, please add '--set global.postgresql.auth.password=$PASSWORD' to the command. To get the current value:
export PASSWORD=$(kubectl get secret --namespace "self-service-portal" oauth-server-postgres-user -o jsonpath="{.data.password}" | base64 -d)