jsonnet: fix label selector for coredns ServiceMonitor

This commit is contained in:
paulfantom 2021-06-11 10:56:54 +02:00
parent 2afbb72a88
commit 5ea10d80a1
No known key found for this signature in database
GPG Key ID: 12AE0185401674E7

View File

@ -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'],