From 8f5c83a6811f472da45c46397986fc7a15545fbd Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Thu, 15 Aug 2024 11:08:00 +0200 Subject: [PATCH] refactor(prometheus): get rid of label selectors --- kube-prometheus/config/values.prometheus.yaml | 21 +++---------------- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/kube-prometheus/config/values.prometheus.yaml b/kube-prometheus/config/values.prometheus.yaml index 93c37fc..eed1882 100644 --- a/kube-prometheus/config/values.prometheus.yaml +++ b/kube-prometheus/config/values.prometheus.yaml @@ -15,24 +15,9 @@ prometheus: retention: 7d nodeSelector: kubernetes.io/arch: arm64 - serviceMonitorNamespaceSelector: - matchLabels: - prometheus: default - serviceMonitorSelector: - matchLabels: - prometheus: default - ruleSelector: - matchLabels: - prometheus: default - ruleNamespaceSelector: - matchLabels: - prometheus: default - podMonitorSelector: - matchLabels: - prometheus: default - podMonitorNamespaceSelector: - matchLabels: - prometheus: default + serviceMonitorSelectorNilUsesHelmValues: false + podMonitorSelectorNilUsesHelmValues: false + ruleSelectorNilUsesHelmValues: false resources: requests: memory: 1500Mi