Skip to content

Commit

Permalink
fix: look for servicemonitor under monitoring and puppetserver for cu…
Browse files Browse the repository at this point in the history
…stomers
  • Loading branch information
ashish1099 committed Nov 20, 2024
1 parent 0db460c commit d7ee3ca
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ spec:
ruleSelector: {}
scrapeConfigNamespaceSelector: null
scrapeConfigSelector: {}
serviceMonitorNamespaceSelector: null
serviceMonitorNamespaceSelector:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: In
values:
- monitoring-{{ .Values.customerid }}
- puppetserver-{{ .Values.customerid }}
serviceMonitorSelector: {}
replicas: 1
retention: {{ .Values.prometheus.retention | default "15d" | }}
Expand Down

0 comments on commit d7ee3ca

Please sign in to comment.