Skip to content

Commit

Permalink
Fix servicemonitor to avoid conflict in name & find right service
Browse files Browse the repository at this point in the history
  • Loading branch information
david-martin committed May 22, 2024
1 parent 84f5ae2 commit 9cd5a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
app.kubernetes.io/created-by: dns-operator
app.kubernetes.io/part-of: dns-operator
app.kubernetes.io/managed-by: kustomize
name: controller-manager-metrics-monitor
name: dns-operator-metrics-monitor
namespace: system
spec:
endpoints:
Expand All @@ -20,4 +20,4 @@ spec:
scheme: http
selector:
matchLabels:
control-plane: controller-manager
control-plane: dns-operator-controller-manager

0 comments on commit 9cd5a73

Please sign in to comment.