Merge pull request #1200 from paulfantom/coredns-selector
jsonnet: fix label selector for coredns ServiceMonitor
This commit is contained in:
@@ -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'],
|
||||
|
||||
@@ -16,4 +16,4 @@ spec:
|
||||
- kube-system
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: kube-dns
|
||||
k8s-app: kube-dns
|
||||
|
||||
Reference in New Issue
Block a user