Skip to content

Commit

Permalink
Fix incorrect type for serviceMonitor spec.namespaceSelector.matchNames
Browse files Browse the repository at this point in the history
Signed-off-by: Renaud Gaubert <[email protected]>
  • Loading branch information
Renaud Gaubert committed Jun 1, 2020
1 parent d6b4e23 commit 090de5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/dcgm-exporter/templates/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 090de5f

Please sign in to comment.