Merge pull request #1200 from paulfantom/coredns-selector

jsonnet: fix label selector for coredns ServiceMonitor
This commit is contained in:
Damien Grisonnet
2021-06-11 12:44:40 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

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

View File

@@ -16,4 +16,4 @@ spec:
- kube-system
selector:
matchLabels:
app.kubernetes.io/name: kube-dns
k8s-app: kube-dns