mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 09:01:02 +01:00
kube-prometheus: update serviceMonitorSelector
In cleanup commit 9cd05a8c39c6ed03688859de92372d93af5cc6e2 the labels on the ServiceMonitors were changed from k8s-apps to k8s-app. This commit makes the Prometheus selector match that change.
This commit is contained in:
parent
915677eaa2
commit
dea5226b9f
@ -10,7 +10,7 @@ spec:
|
|||||||
serviceAccountName: prometheus-k8s
|
serviceAccountName: prometheus-k8s
|
||||||
serviceMonitorSelector:
|
serviceMonitorSelector:
|
||||||
matchExpression:
|
matchExpression:
|
||||||
- {key: k8s-apps, operator: Exists}
|
- {key: k8s-app, operator: Exists}
|
||||||
ruleSelector:
|
ruleSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: prometheus-rulefiles
|
role: prometheus-rulefiles
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user