[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>
This commit is contained in:
Søren Schwartz
2024-12-13 09:52:51 +01:00
committed by GitHub
parent 485796bfe6
commit b0d2c2e53c
4 changed files with 13 additions and 2 deletions

View File

@@ -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)
## <small>16.2.5 (2024-12-03)</small>

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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 }}