Password Error
If you encounter a PASSWORDS ERROR during a release upgrade, ensure that you provide the current password. The error message may state:
'postgresqlPassword' must not be empty. Please add '--set postgresqlPassword=$POSTGRESQL_PASSWORD' to the command
To retrieve the current password, run the following command:
export POSTGRESQL_PASSWORD=$(kubectl get secret --namespace <namespace> <release-name>-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
Then, include the password in the upgrade command as follows:
--set global.postgresql.auth.postgresPassword="somepassword"
Verify that the password is correctly configured to avoid issues during the upgrade process.
Note: Ensure to use a secure password, as it will be assigned to
the admin account of the database.