From 00a169e48dc80d698f6f91f364db52d6e79cae94 Mon Sep 17 00:00:00 2001 From: Axel Date: Thu, 17 Oct 2024 11:35:39 +0200 Subject: [PATCH 1/5] fix(chart/postgresql-ha): update liveness in order to check if process are in "data standby clone" Signed-off-by: Axel --- bitnami/postgresql-ha/Chart.yaml | 2 +- bitnami/postgresql-ha/templates/postgresql/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/postgresql-ha/Chart.yaml b/bitnami/postgresql-ha/Chart.yaml index e482f60debb01b..33dcfc12fd546e 100644 --- a/bitnami/postgresql-ha/Chart.yaml +++ b/bitnami/postgresql-ha/Chart.yaml @@ -40,4 +40,4 @@ maintainers: name: postgresql-ha sources: - https://github.com/bitnami/charts/tree/main/bitnami/postgresql-ha -version: 14.3.1 +version: 14.3.2 diff --git a/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml b/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml index 39050bdfae85f3..a670d21778cc80 100644 --- a/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml +++ b/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml @@ -403,7 +403,7 @@ spec: command: - bash - -ec - - '{{ include "postgresql-ha.pgpassword" . }} psql -w -U {{ include "postgresql-ha.postgresqlUsername" . | quote }} -d {{ (include "postgresql-ha.postgresqlDatabase" .) | quote }} -h 127.0.0.1 -p {{ .Values.postgresql.containerPorts.postgresql }} -c "SELECT 1"' + - 'ps waux | grep "data standby clone" | grep -v grep || {{ include "postgresql-ha.pgpassword" . }} psql -w -U {{ include "postgresql-ha.postgresqlUsername" . | quote }} -d {{ (include "postgresql-ha.postgresqlDatabase" .) | quote }} -h 127.0.0.1 -p {{ .Values.postgresql.containerPorts.postgresql }} -c "SELECT 1"' {{- end }} {{- if .Values.postgresql.customReadinessProbe }} readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.postgresql.customReadinessProbe "context" $) | nindent 12 }} From 1168a453092482898464254bdc42d7fc54403334 Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Thu, 17 Oct 2024 09:42:59 +0000 Subject: [PATCH 2/5] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/postgresql-ha/CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bitnami/postgresql-ha/CHANGELOG.md b/bitnami/postgresql-ha/CHANGELOG.md index f5493dc7284388..3b04ab838e98ec 100644 --- a/bitnami/postgresql-ha/CHANGELOG.md +++ b/bitnami/postgresql-ha/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog -## 14.3.1 (2024-10-16) +## 14.3.2 (2024-10-17) -* [bitnami/postgresql-ha] Release 14.3.1 ([#29934](https://github.com/bitnami/charts/pull/29934)) +* [bitnami/postgresql-ha] Cloning huge data from primary node fails due to livenessProbe ([#29948](https://github.com/bitnami/charts/pull/29948)) + +## 14.3.1 (2024-10-16) + +* [bitnami/postgresql-ha] Release 14.3.1 (#29934) ([ae61e7a](https://github.com/bitnami/charts/commit/ae61e7a627a0d6c1864e43bfe773ffb27c557ca0)), closes [#29934](https://github.com/bitnami/charts/issues/29934) +* Update documentation links to techdocs.broadcom.com (#29931) ([f0d9ad7](https://github.com/bitnami/charts/commit/f0d9ad78f39f633d275fc576d32eae78ded4d0b8)), closes [#29931](https://github.com/bitnami/charts/issues/29931) ## 14.3.0 (2024-10-16) From 1bd4eb31da4766341177d9e0f10536af1b04ef58 Mon Sep 17 00:00:00 2001 From: Axel Date: Mon, 21 Oct 2024 18:40:58 +0200 Subject: [PATCH 3/5] bump(chart/postgresql-ha): 14.3.3 Signed-off-by: Axel --- bitnami/postgresql-ha/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/postgresql-ha/Chart.yaml b/bitnami/postgresql-ha/Chart.yaml index 4e3915affac720..4f6767e9884638 100644 --- a/bitnami/postgresql-ha/Chart.yaml +++ b/bitnami/postgresql-ha/Chart.yaml @@ -40,4 +40,4 @@ maintainers: name: postgresql-ha sources: - https://github.com/bitnami/charts/tree/main/bitnami/postgresql-ha -version: 14.3.2 +version: 14.3.3 From d01e696ebc1d5c33cf9d8f728eb63bbf037c2cc5 Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Mon, 21 Oct 2024 16:47:44 +0000 Subject: [PATCH 4/5] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/postgresql-ha/CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bitnami/postgresql-ha/CHANGELOG.md b/bitnami/postgresql-ha/CHANGELOG.md index cd2c091c6ff6ee..a94583301dc011 100644 --- a/bitnami/postgresql-ha/CHANGELOG.md +++ b/bitnami/postgresql-ha/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 14.3.2 (2024-10-20) +## 14.3.3 (2024-10-21) -* [bitnami/postgresql-ha] Release 14.3.2 ([#30002](https://github.com/bitnami/charts/pull/30002)) +* [bitnami/postgresql-ha] Cloning huge data from primary node fails due to livenessProbe ([#29948](https://github.com/bitnami/charts/pull/29948)) + +## 14.3.2 (2024-10-20) + +* [bitnami/postgresql-ha] Release 14.3.2 (#30002) ([cb25907](https://github.com/bitnami/charts/commit/cb2590765c39cddd0d1c686a2e28458c8960b490)), closes [#30002](https://github.com/bitnami/charts/issues/30002) ## 14.3.1 (2024-10-16) From 6ded52a3c3fa645c3f5402ca3c57bd1c3fb34e8e Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Thu, 24 Oct 2024 10:18:27 +0000 Subject: [PATCH 5/5] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/postgresql-ha/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/postgresql-ha/CHANGELOG.md b/bitnami/postgresql-ha/CHANGELOG.md index 536e0c2c89a361..8ea1da2ccdc585 100644 --- a/bitnami/postgresql-ha/CHANGELOG.md +++ b/bitnami/postgresql-ha/CHANGELOG.md @@ -1,12 +1,12 @@ # Changelog -## 14.3.5 (2024-10-21) +## 14.3.5 (2024-10-24) * [bitnami/postgresql-ha] Cloning huge data from primary node fails due to livenessProbe ([#29948](https://github.com/bitnami/charts/pull/29948)) ## 14.3.4 (2024-10-23) -* [bitnami/postgresql-ha] Fix pgpool default readinessProbe ([#30028](https://github.com/bitnami/charts/pull/30028)) +* [bitnami/postgresql-ha] Fix pgpool default readinessProbe (#30028) ([49ad0af](https://github.com/bitnami/charts/commit/49ad0af9b7975aaa956f694455931a14ed7f20c8)), closes [#30028](https://github.com/bitnami/charts/issues/30028) ## 14.3.3 (2024-10-22)