From 6828c34673c04ebeec0729b9340b18dd91791837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Mon, 24 Jan 2022 11:34:22 +0100
Subject: [PATCH] Let Prometheus watch all ServiceMonitors in current namespace

---
 helm/templates/prometheus/prometheus.yaml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/helm/templates/prometheus/prometheus.yaml b/helm/templates/prometheus/prometheus.yaml
index 4e297b202..23a015250 100644
--- a/helm/templates/prometheus/prometheus.yaml
+++ b/helm/templates/prometheus/prometheus.yaml
@@ -5,10 +5,7 @@ metadata:
   name: {{ template "theodolite.fullname" . }}-prometheus
 spec:
   serviceAccountName: {{ template "theodolite.fullname" . }}-prometheus
-  serviceMonitorSelector:
-    matchLabels:
-      #app: cp-kafka
-      appScope: titan-ccp
+  serviceMonitorSelector: {}
   resources:
     requests:
       memory: 400Mi
-- 
GitLab