From d33506c0cb8c9f4deee35c61a9814570d2a3413a Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Mon, 22 Nov 2021 18:19:32 +0100 Subject: [PATCH] fix servicemonitor selector --- ...-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml | 1 + config/prometheus/monitor.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/bundle/manifests/threescale-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml b/bundle/manifests/threescale-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml index 3670b4bd0..45884744d 100644 --- a/bundle/manifests/threescale-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml +++ b/bundle/manifests/threescale-operator-controller-manager-metrics-monitor_monitoring.coreos.com_v1_servicemonitor.yaml @@ -10,4 +10,5 @@ spec: port: https selector: matchLabels: + app: 3scale-api-management control-plane: controller-manager diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 9b8047b76..e64858960 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -14,3 +14,4 @@ spec: selector: matchLabels: control-plane: controller-manager + app: 3scale-api-management