diff --git a/bitnami/postgresql/Chart.yaml b/bitnami/postgresql/Chart.yaml index d45eb293a..e074a21cf 100644 --- a/bitnami/postgresql/Chart.yaml +++ b/bitnami/postgresql/Chart.yaml @@ -26,4 +26,4 @@ name: postgresql sources: - https://github.com/bitnami/containers/tree/main/bitnami/postgresql - https://www.postgresql.org/ -version: 12.1.5 +version: 12.1.6 diff --git a/bitnami/postgresql/templates/primary/statefulset.yaml b/bitnami/postgresql/templates/primary/statefulset.yaml index 3fd77f4af..653138cde 100644 --- a/bitnami/postgresql/templates/primary/statefulset.yaml +++ b/bitnami/postgresql/templates/primary/statefulset.yaml @@ -589,7 +589,7 @@ spec: {{- if and .Values.metrics.enabled .Values.metrics.customMetrics }} - name: custom-metrics configMap: - name: {{ printf "%s-metrics" (include "common.names.fullname" .) }} + name: {{ printf "%s-metrics" (include "postgresql.primary.fullname" .) }} {{- end }} {{- if .Values.shmVolume.enabled }} - name: dshm diff --git a/bitnami/postgresql/templates/read/statefulset.yaml b/bitnami/postgresql/templates/read/statefulset.yaml index b3ff1da69..80c8e8bba 100644 --- a/bitnami/postgresql/templates/read/statefulset.yaml +++ b/bitnami/postgresql/templates/read/statefulset.yaml @@ -482,7 +482,7 @@ spec: {{- if and .Values.metrics.enabled .Values.metrics.customMetrics }} - name: custom-metrics configMap: - name: {{ printf "%s-metrics" (include "common.names.fullname" .) }} + name: {{ printf "%s-metrics" (include "postgresql.readReplica.fullname" .) }} {{- end }} {{- if .Values.shmVolume.enabled }} - name: dshm