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:
jordanjennings
2017-06-17 13:03:50 -04:00
committed by GitHub
parent 915677eaa2
commit dea5226b9f

View File

@@ -10,7 +10,7 @@ spec:
serviceAccountName: prometheus-k8s
serviceMonitorSelector:
matchExpression:
- {key: k8s-apps, operator: Exists}
- {key: k8s-app, operator: Exists}
ruleSelector:
matchLabels:
role: prometheus-rulefiles