diff --git a/bitnami/postgresql-ha/CHANGELOG.md b/bitnami/postgresql-ha/CHANGELOG.md index 97efb9db1b4797..9d36e1a00a23b8 100644 --- a/bitnami/postgresql-ha/CHANGELOG.md +++ b/bitnami/postgresql-ha/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 15.1.4 (2024-12-23) +## 15.1.5 (2025-01-10) -* [bitnami/postgresql-ha] Release 15.1.4 ([#31144](https://github.com/bitnami/charts/pull/31144)) +* [bitnami/postgresql-ha] setting ServiceAccount also when is not created by the bitnami chart ([#31293](https://github.com/bitnami/charts/pull/31293)) + +## 15.1.4 (2024-12-23) + +* [bitnami/postgresql-ha] Release 15.1.4 (#31144) ([6a0ca8f](https://github.com/bitnami/charts/commit/6a0ca8f0d148a69e005f39bb2bef839ac8fb35ad)), closes [#31144](https://github.com/bitnami/charts/issues/31144) ## 15.1.3 (2024-12-23) diff --git a/bitnami/postgresql-ha/Chart.yaml b/bitnami/postgresql-ha/Chart.yaml index 475e5b4bd83652..42bbe91cf93820 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: 15.1.4 +version: 15.1.5 diff --git a/bitnami/postgresql-ha/templates/pgpool/deployment.yaml b/bitnami/postgresql-ha/templates/pgpool/deployment.yaml index 4bb0ff576592bd..6b268944e93732 100644 --- a/bitnami/postgresql-ha/templates/pgpool/deployment.yaml +++ b/bitnami/postgresql-ha/templates/pgpool/deployment.yaml @@ -72,9 +72,7 @@ spec: {{- if .Values.pgpool.terminationGracePeriodSeconds }} terminationGracePeriodSeconds: {{ .Values.pgpool.terminationGracePeriodSeconds }} {{- end }} - {{- if .Values.serviceAccount.create }} serviceAccountName: {{ include "postgresql-ha.serviceAccountName" . }} - {{- end }} {{- if or .Values.pgpool.tls.enabled .Values.pgpool.initContainers }} initContainers: {{- if .Values.pgpool.tls.enabled }} diff --git a/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml b/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml index 99aa591255dd14..18f47122933eb2 100644 --- a/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml +++ b/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml @@ -74,9 +74,7 @@ spec: {{- if .Values.postgresql.podSecurityContext.enabled }} securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.postgresql.podSecurityContext "context" $) | nindent 8 }} {{- end }} - {{- if .Values.serviceAccount.create }} serviceAccountName: {{ include "postgresql-ha.serviceAccountName" . }} - {{- end }} hostNetwork: {{ .Values.postgresql.hostNetwork }} hostIPC: {{ .Values.postgresql.hostIPC }} {{- if or .Values.postgresql.tls.enabled .Values.postgresql.initContainers .Values.postgresql.extraInitContainers (and .Values.volumePermissions.enabled (or (or (not (empty .Values.postgresql.extendedConf)) (not (empty .Values.postgresql.extendedConfCM))) .Values.persistence.enabled)) }} diff --git a/bitnami/postgresql-ha/templates/postgresql/witness-statefulset.yaml b/bitnami/postgresql-ha/templates/postgresql/witness-statefulset.yaml index 75c6a5a5b641f9..f42caae0a15e4a 100644 --- a/bitnami/postgresql-ha/templates/postgresql/witness-statefulset.yaml +++ b/bitnami/postgresql-ha/templates/postgresql/witness-statefulset.yaml @@ -75,9 +75,7 @@ spec: {{- if .Values.witness.podSecurityContext.enabled }} securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.witness.podSecurityContext "context" $) | nindent 8 }} {{- end }} - {{- if .Values.serviceAccount.create }} serviceAccountName: {{ include "postgresql-ha.serviceAccountName" . }} - {{- end }} hostNetwork: {{ .Values.witness.hostNetwork }} hostIPC: {{ .Values.witness.hostIPC }} initContainers: