Skip to content

Commit

Permalink
Merge pull request #195 from cloudogu/feature/prometheus-all-namespaces
Browse files Browse the repository at this point in the history
Prometheus: watch CRs in all namespaces
  • Loading branch information
yannickchristhomas authored Jun 18, 2024
2 parents 7800314 + 136f917 commit 510f750
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,22 @@ grafana:

prometheus:
prometheusSpec:
# Find podMonitors, serviceMonitor, etc. in all namespaces
serviceMonitorNamespaceSelector:
matchLabels: {}
# With this, we don't need the label "release: kube-prometheus-stack" on the service monitor
serviceMonitorSelectorNilUsesHelmValues: false
podMonitorNamespaceSelector:
matchLabels: {}
podMonitorSelectorNilUsesHelmValues: false
ruleNamespaceSelector:
matchLabels: {}
ruleSelectorNilUsesHelmValues: false
scrapeConfigSelectorNilUsesHelmValues: false
probeNamespaceSelector:
matchLabels: {}
probeSelectorNilUsesHelmValues: false

<#if podResources == true>
resources:
limits:
Expand Down

0 comments on commit 510f750

Please sign in to comment.