Auto-generated Passwords (Internal PostgreSQL)
Manage auto-generated PostgreSQL passwords for JFrog Helm deployments: set, retrieve, and pass during upgrades.
An internal PostgreSQL requires one password variable during installation or upgrade. If you do not set it, the chart generates a random 10-character alphanumeric string. Set this value explicitly during installation and upgrade to avoid regeneration issues.
--set postgresql.postgresqlPassword=<value>The password must remain the same between upgrades. If the chart generated the password during helm install, pass the same value on future upgrades.
To read the current password, use the following command. For more information on reading a secret value, see Kubernetes: Decoding a Secret.
POSTGRES_PASSWORD=$(kubectl get secret -n <namespace><release_name>-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)Pass the following parameter during upgrade:
--set postgresql.postgresqlPassword=${POSTGRES_PASSWORD}Tip
For Helm Charts version 7.111.x and later, the correct parameter for setting the PostgreSQL password has changed to
postgresql.auth.password.
Updated 23 days ago
