Skip to content

Commit

Permalink
updated servicemonitor selector to spec
Browse files Browse the repository at this point in the history
Signed-off-by: Richtman, Ariel <[email protected]>
  • Loading branch information
arichtman committed Dec 24, 2023
1 parent baa1217 commit 4530f36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/helm-chart/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ metadata:
{{- end }}
spec:
selector:
{{- include "data-prepper.selectorLabels" . | nindent 4 }}
matchLabels:
{{- include "data-prepper.selectorLabels" . | nindent 6 }}
endpoints:
{{- toYaml .Values.serviceMonitor.metricsEndpoints | nindent 2 }}
{{- end }}
Expand Down

0 comments on commit 4530f36

Please sign in to comment.