[bitnami/postgresql-ha] pgpool is mapping PGPOOL_POSTGRES_PASSWORD env. var. from wrong secretKeyRef #32807
Labels
postgresql-ha
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-ha-15.3.8
What architecture are you using?
None
What steps will reproduce the bug?
Deploy HelmChart using different passwords (values) defined in secret "my-db-secret", and use this secret file in "postgresql.existingSecret: my-db-secret".
postgresql-ha-15.3.8.tgz/postgresql-ha/templates/pgpool/deployment.yaml
key should be "postgres-password", not "password".
Secret file content example below.
How to test:
=> check content of PGPOOL_POSTGRES_PASSWORD
=> using wrong password
=> pgpool keeps restarting (due to invalid probe)...
Are you using any custom parameters or values?
secret-postgresql.yaml
What is the expected behavior?
PGPOOL_POSTGRES_PASSWORD should use password from correct secretKeyRef.
What do you see instead?
Password from the other key.
Additional information
No response
The text was updated successfully, but these errors were encountered: