From 9cd5a734f7f7bc36a5e042269fc2d10d843cdd62 Mon Sep 17 00:00:00 2001 From: David Martin Date: Wed, 22 May 2024 15:20:51 +0100 Subject: [PATCH] Fix servicemonitor to avoid conflict in name & find right service --- config/prometheus/monitor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 8710840..ed3441e 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -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: @@ -20,4 +20,4 @@ spec: scheme: http selector: matchLabels: - control-plane: controller-manager + control-plane: dns-operator-controller-manager