From 3380834b1264325673389184659c97a13783a29b Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Wed, 3 Apr 2024 12:18:59 +0300 Subject: [PATCH] Update podmonitor.yaml Signed-off-by: Itay Grudev --- charts/cloudnative-pg/templates/podmonitor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cloudnative-pg/templates/podmonitor.yaml b/charts/cloudnative-pg/templates/podmonitor.yaml index e294f2f90..bae86ca8d 100644 --- a/charts/cloudnative-pg/templates/podmonitor.yaml +++ b/charts/cloudnative-pg/templates/podmonitor.yaml @@ -1,11 +1,11 @@ -{{- if .Values.monitoring.podMonitor.enabled }} +{{- if .Values.monitoring.podMonitorEnabled }} apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: {{ include "cloudnative-pg.fullname" . }} labels: {{- include "cloudnative-pg.labels" . | nindent 4 }} - {{- with .Values.monitoring.podMonitor.additionalLabels }} + {{- with .Values.monitoring.podMonitorAdditionalLabels }} {{- toYaml . | nindent 4 }} {{- end}} {{- with .Values.commonAnnotations }} @@ -18,4 +18,4 @@ spec: {{- include "cloudnative-pg.selectorLabels" . | nindent 6 }} podMetricsEndpoints: - port: metrics -{{- end }} \ No newline at end of file +{{- end }}