Skip to content

Commit

Permalink
fix(chart): ServiceMonitor jobLabel cant be null
Browse files Browse the repository at this point in the history
  • Loading branch information
simonostendorf committed Jun 26, 2024
1 parent c642909 commit 1810018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm-chart/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
{{- toYaml .Values.serviceMonitor.annotations | nindent 4 }}
{{- end }}
spec:
jobLabel: {{ .Values.serviceMonitor.jobLabel }}
jobLabel: {{ .Values.serviceMonitor.jobLabel | quote }}
selector:
matchLabels:
{{- include "exporter.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 1810018

Please sign in to comment.