Skip to content
Snippets Groups Projects
Commit dea5226b authored by jordanjennings's avatar jordanjennings Committed by GitHub
Browse files

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.
parent 915677ea
No related merge requests found
...@@ -10,7 +10,7 @@ spec: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment