From 905260a6f76c7a12db4f75d4da474f21ec0a0e95 Mon Sep 17 00:00:00 2001 From: David Gomez Date: Mon, 16 May 2022 10:04:16 +0200 Subject: [PATCH] Fix error 'Error: ConfigMap in version v1 cannot be handled as a ConfigMap' (#10222) Signed-off-by: David Gomez --- bitnami/postgresql/templates/primary/metrics-configmap.yaml | 2 +- bitnami/postgresql/templates/read/metrics-configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/postgresql/templates/primary/metrics-configmap.yaml b/bitnami/postgresql/templates/primary/metrics-configmap.yaml index 39c48059de..8ad2f35fce 100644 --- a/bitnami/postgresql/templates/primary/metrics-configmap.yaml +++ b/bitnami/postgresql/templates/primary/metrics-configmap.yaml @@ -12,5 +12,5 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} data: - custom-metrics.yaml: {{- toYaml .Values.metrics.customMetrics | nindent 4 }} + custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }} {{- end }} diff --git a/bitnami/postgresql/templates/read/metrics-configmap.yaml b/bitnami/postgresql/templates/read/metrics-configmap.yaml index f22abc8ea7..ddaae75b48 100644 --- a/bitnami/postgresql/templates/read/metrics-configmap.yaml +++ b/bitnami/postgresql/templates/read/metrics-configmap.yaml @@ -12,5 +12,5 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} data: - custom-metrics.yaml: {{- toYaml .Values.metrics.customMetrics | nindent 4 }} + custom-metrics.yaml: {{ toYaml .Values.metrics.customMetrics | quote }} {{- end }}