From 1601a1b831d4c45dbc285ed86c4b83ff52fbeb1f Mon Sep 17 00:00:00 2001 From: Tan Guan Hong Date: Tue, 20 Dec 2022 19:24:40 +0800 Subject: [PATCH] [bitnami/postgresql] Renamed statefulset custom-metrics name to match metrics-configmap (#13953) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tan Guan Hong Signed-off-by: Tan Guan Hong Signed-off-by: Carlos Rodríguez Hernández Co-authored-by: Carlos Rodríguez Hernández --- bitnami/postgresql/Chart.yaml | 2 +- bitnami/postgresql/templates/primary/statefulset.yaml | 2 +- bitnami/postgresql/templates/read/statefulset.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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