diff --git a/bitnami/postgresql/CHANGELOG.md b/bitnami/postgresql/CHANGELOG.md index b29dc39525f3a3..de427c7c994dee 100644 --- a/bitnami/postgresql/CHANGELOG.md +++ b/bitnami/postgresql/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog +## 16.3.1 (2024-12-12) + +* [bitnami/postgresql] Add Storage Class Configuration to Templates ([#30858](https://github.com/bitnami/charts/pull/30858)) + ## 16.3.0 (2024-12-10) -* [bitnami/postgresql] Detect non-standard images ([#30936](https://github.com/bitnami/charts/pull/30936)) +* [bitnami/*] Add Bitnami Premium to NOTES.txt (#30854) ([3dfc003](https://github.com/bitnami/charts/commit/3dfc00376df6631f0ce54b8d440d477f6caa6186)), closes [#30854](https://github.com/bitnami/charts/issues/30854) +* [bitnami/postgresql] Detect non-standard images (#30936) ([ac96151](https://github.com/bitnami/charts/commit/ac96151bdbe5e99b00dcde62a4d72f1827fa46b2)), closes [#30936](https://github.com/bitnami/charts/issues/30936) ## 16.2.5 (2024-12-03) diff --git a/bitnami/postgresql/Chart.yaml b/bitnami/postgresql/Chart.yaml index daaecd274e89cf..66ce513dea2ac5 100644 --- a/bitnami/postgresql/Chart.yaml +++ b/bitnami/postgresql/Chart.yaml @@ -35,4 +35,4 @@ maintainers: name: postgresql sources: - https://github.com/bitnami/charts/tree/main/bitnami/postgresql -version: 16.3.0 +version: 16.3.1 diff --git a/bitnami/postgresql/templates/primary/statefulset.yaml b/bitnami/postgresql/templates/primary/statefulset.yaml index 479d556b834a60..0ada478d1ef4a8 100644 --- a/bitnami/postgresql/templates/primary/statefulset.yaml +++ b/bitnami/postgresql/templates/primary/statefulset.yaml @@ -695,6 +695,9 @@ spec: {{- if .Values.primary.persistence.dataSource }} dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.primary.persistence.dataSource "context" $) | nindent 10 }} {{- end }} + {{- if .Values.primary.persistence.storageClass }} + storageClassName: {{ .Values.primary.persistence.storageClass }} + {{- end }} resources: requests: storage: {{ .Values.primary.persistence.size | quote }} diff --git a/bitnami/postgresql/templates/read/statefulset.yaml b/bitnami/postgresql/templates/read/statefulset.yaml index a81a83767e5307..8801764a41df2c 100644 --- a/bitnami/postgresql/templates/read/statefulset.yaml +++ b/bitnami/postgresql/templates/read/statefulset.yaml @@ -577,6 +577,9 @@ spec: {{- if .Values.readReplicas.persistence.dataSource }} dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.readReplicas.persistence.dataSource "context" $) | nindent 10 }} {{- end }} + {{- if .Values.readReplicas.persistence.storageClass }} + storageClassName: {{ .Values.readReplicas.persistence.storageClass }} + {{- end }} resources: requests: storage: {{ .Values.readReplicas.persistence.size | quote }}