Skip to content

Commit

Permalink
build(chart): fix servicemonitor namespaceSelector
Browse files Browse the repository at this point in the history
#229
Signed-off-by: Clément Nussbaumer <[email protected]>
  • Loading branch information
clementnuss committed Feb 14, 2024
1 parent b443620 commit 093e538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kubelet-csr-approver/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
jobLabel: {{ .Release.Name }}
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
- {{ include "kubelet-csr-approver.namespace" . }}
selector:
matchLabels:
{{- include "kubelet-csr-approver.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 093e538

Please sign in to comment.