From 631bf805841f2528be036012963c1c9209295cdd Mon Sep 17 00:00:00 2001 From: Tom Plant Date: Sat, 30 Nov 2024 12:43:10 +1100 Subject: [PATCH] fix: cloudflared ServiceMonitor matching --- config/prometheus/image_monitor.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/prometheus/image_monitor.yaml b/config/prometheus/image_monitor.yaml index 037da729..b6b3e43b 100644 --- a/config/prometheus/image_monitor.yaml +++ b/config/prometheus/image_monitor.yaml @@ -5,7 +5,7 @@ metadata: labels: control-plane: image app.kubernetes.io/name: cloudflare-kubernetes-gateway - app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/managed-by: GatewayController name: image-metrics-monitor namespace: system spec: @@ -15,4 +15,5 @@ spec: scheme: http selector: matchLabels: - control-plane: image + app.kubernetes.io/name: cloudflare-kubernetes-gateway + app.kubernetes.io/managed-by: GatewayController