Skip to content

Commit 87048a4

Browse files
authored
Update ServiceMonitor to use common labels
service monitor doesn't have the controller manager labels, use the service's labels as the selector for servicemonitor
1 parent 37d37d5 commit 87048a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/openstack-cloud-controller-manager/templates/servicemonitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ spec:
2424
jobLabel: component
2525
selector:
2626
matchLabels:
27-
{{- include "occm.controllermanager.matchLabels" . | nindent 6 }}
27+
{{- include "common.labels.standard" . | nindent 6 }}
2828
{{- end }}

0 commit comments

Comments
 (0)