Skip to content

Commit db3cb7d

Browse files
committed
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 f6cd984 commit db3cb7d

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)