mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-25 22:21:19 +02:00
jsonnet: fix label selector for coredns ServiceMonitor
This commit is contained in:
parent
2afbb72a88
commit
5ea10d80a1
@ -245,7 +245,7 @@ function(params) {
|
||||
spec: {
|
||||
jobLabel: 'app.kubernetes.io/name',
|
||||
selector: {
|
||||
matchLabels: { 'app.kubernetes.io/name': 'kube-dns' },
|
||||
matchLabels: { 'k8s-app': 'kube-dns' },
|
||||
},
|
||||
namespaceSelector: {
|
||||
matchNames: ['kube-system'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user