From 090de5f927ec312c76b3ccead376f31e9f684d39 Mon Sep 17 00:00:00 2001 From: Renaud Gaubert Date: Mon, 1 Jun 2020 07:37:40 +0000 Subject: [PATCH] Fix incorrect type for serviceMonitor spec.namespaceSelector.matchNames Signed-off-by: Renaud Gaubert --- deployment/dcgm-exporter/templates/service-monitor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/dcgm-exporter/templates/service-monitor.yaml b/deployment/dcgm-exporter/templates/service-monitor.yaml index 6643a4b..3837d07 100644 --- a/deployment/dcgm-exporter/templates/service-monitor.yaml +++ b/deployment/dcgm-exporter/templates/service-monitor.yaml @@ -34,9 +34,9 @@ spec: namespaceSelector: matchNames: {{- if .Values.namespace }} - - namespace: "{{ .Values.namespace }}" + - "{{ .Values.namespace }}" {{ else }} - - namespace: "{{ .Release.Namespace }}" + - "{{ .Release.Namespace }}" {{- end }} endpoints: - port: "metrics"