Skip to content

Commit b0d2c2e

Browse files
3schwartzBitnami Containers
and
Bitnami Containers
authoredDec 13, 2024··
[bitnami/postgresql] Add Storage Class Configuration to Templates (#30858)
* add storage class Signed-off-by: Søren Schwartz <40674593+3schwartz@users.noreply.github.com> * Bump patch. Signed-off-by: Søren Schwartz <40674593+3schwartz@users.noreply.github.com> * remove Signed-off-by: Søren Schwartz <40674593+3schwartz@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update statefulset.yaml Signed-off-by: Søren Schwartz <40674593+3schwartz@users.noreply.github.com> * Update statefulset.yaml Signed-off-by: Søren Schwartz <40674593+3schwartz@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Søren Schwartz <40674593+3schwartz@users.noreply.github.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
1 parent 485796b commit b0d2c2e

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed
 

‎bitnami/postgresql/CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Changelog
22

3+
## 16.3.1 (2024-12-12)
4+
5+
* [bitnami/postgresql] Add Storage Class Configuration to Templates ([#30858](https://github.com/bitnami/charts/pull/30858))
6+
37
## 16.3.0 (2024-12-10)
48

5-
* [bitnami/postgresql] Detect non-standard images ([#30936](https://github.com/bitnami/charts/pull/30936))
9+
* [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)
10+
* [bitnami/postgresql] Detect non-standard images (#30936) ([ac96151](https://github.com/bitnami/charts/commit/ac96151bdbe5e99b00dcde62a4d72f1827fa46b2)), closes [#30936](https://github.com/bitnami/charts/issues/30936)
611

712
## <small>16.2.5 (2024-12-03)</small>
813

‎bitnami/postgresql/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ maintainers:
3535
name: postgresql
3636
sources:
3737
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
38-
version: 16.3.0
38+
version: 16.3.1

‎bitnami/postgresql/templates/primary/statefulset.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,9 @@ spec:
695695
{{- if .Values.primary.persistence.dataSource }}
696696
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.primary.persistence.dataSource "context" $) | nindent 10 }}
697697
{{- end }}
698+
{{- if .Values.primary.persistence.storageClass }}
699+
storageClassName: {{ .Values.primary.persistence.storageClass }}
700+
{{- end }}
698701
resources:
699702
requests:
700703
storage: {{ .Values.primary.persistence.size | quote }}

‎bitnami/postgresql/templates/read/statefulset.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ spec:
577577
{{- if .Values.readReplicas.persistence.dataSource }}
578578
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.readReplicas.persistence.dataSource "context" $) | nindent 10 }}
579579
{{- end }}
580+
{{- if .Values.readReplicas.persistence.storageClass }}
581+
storageClassName: {{ .Values.readReplicas.persistence.storageClass }}
582+
{{- end }}
580583
resources:
581584
requests:
582585
storage: {{ .Values.readReplicas.persistence.size | quote }}

0 commit comments

Comments
 (0)
Please sign in to comment.