From ac50a71cbf6ca351e21367082205d7ac4f46d2aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rostislav=20St=C5=99=C3=ADbrn=C3=BD?= Date: Wed, 25 Jun 2025 10:48:11 +0200 Subject: [PATCH] [bitnami/postgresql-ha] PGPOOL_POSTGRES_PASSWORD mapping from postgres-password (#32857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [bitnami/postgresql-ha] PGPOOL_POSTGRES_PASSWORD mapping from postgres-password * Update CHANGELOG.md --------- Signed-off-by: Rostislav Stříbrný Signed-off-by: Bitnami Bot Signed-off-by: Carlos Rodríguez Hernández Signed-off-by: Fran Mulero Co-authored-by: Bitnami Bot Co-authored-by: Carlos Rodríguez Hernández Co-authored-by: Fran Mulero --- bitnami/postgresql-ha/CHANGELOG.md | 8 ++++++-- bitnami/postgresql-ha/Chart.yaml | 2 +- bitnami/postgresql-ha/templates/pgpool/deployment.yaml | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/bitnami/postgresql-ha/CHANGELOG.md b/bitnami/postgresql-ha/CHANGELOG.md index e134b3c630..6008316bab 100644 --- a/bitnami/postgresql-ha/CHANGELOG.md +++ b/bitnami/postgresql-ha/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 16.0.14 (2025-06-13) +## 16.0.15 (2025-06-25) -* [bitnami/postgresql-ha] :zap: :arrow_up: Update dependency references ([#34486](https://github.com/bitnami/charts/pull/34486)) +* [bitnami/postgresql-ha] PGPOOL_POSTGRES_PASSWORD mapping from postgres-password ([#32857](https://github.com/bitnami/charts/pull/32857)) + +## 16.0.14 (2025-06-13) + +* [bitnami/postgresql-ha] :zap: :arrow_up: Update dependency references (#34486) ([61f65fb](https://github.com/bitnami/charts/commit/61f65fbbe03ea94d2dae41b9ef1c7279e9384a8b)), closes [#34486](https://github.com/bitnami/charts/issues/34486) ## 16.0.13 (2025-06-12) diff --git a/bitnami/postgresql-ha/Chart.yaml b/bitnami/postgresql-ha/Chart.yaml index 152538d8ea..30a5f82eff 100644 --- a/bitnami/postgresql-ha/Chart.yaml +++ b/bitnami/postgresql-ha/Chart.yaml @@ -43,4 +43,4 @@ maintainers: name: postgresql-ha sources: - https://github.com/bitnami/charts/tree/main/bitnami/postgresql-ha -version: 16.0.14 +version: 16.0.15 diff --git a/bitnami/postgresql-ha/templates/pgpool/deployment.yaml b/bitnami/postgresql-ha/templates/pgpool/deployment.yaml index 0d65fdc2d2..f9a6bc9f26 100644 --- a/bitnami/postgresql-ha/templates/pgpool/deployment.yaml +++ b/bitnami/postgresql-ha/templates/pgpool/deployment.yaml @@ -227,7 +227,11 @@ spec: valueFrom: secretKeyRef: name: {{ include "postgresql-ha.postgresqlSecretName" . }} + {{- if not (eq (include "postgresql-ha.postgresqlUsername" .) "postgres") }} + key: postgres-password + {{- else }} key: password + {{- end }} {{- end }} - name: PGPOOL_ADMIN_USERNAME value: {{ (include "postgresql-ha.pgpoolAdminUsername" .) | quote }}