Skip to content
Snippets Groups Projects
Unverified Commit 46922c11 authored by Damien Grisonnet's avatar Damien Grisonnet Committed by GitHub
Browse files

Merge pull request #1200 from paulfantom/coredns-selector

jsonnet: fix label selector for coredns ServiceMonitor
parents 2afbb72a edc86999
No related branches found
No related tags found
No related merge requests found
...@@ -245,7 +245,7 @@ function(params) { ...@@ -245,7 +245,7 @@ function(params) {
spec: { spec: {
jobLabel: 'app.kubernetes.io/name', jobLabel: 'app.kubernetes.io/name',
selector: { selector: {
matchLabels: { 'app.kubernetes.io/name': 'kube-dns' }, matchLabels: { 'k8s-app': 'kube-dns' },
}, },
namespaceSelector: { namespaceSelector: {
matchNames: ['kube-system'], matchNames: ['kube-system'],
......
...@@ -16,4 +16,4 @@ spec: ...@@ -16,4 +16,4 @@ spec:
- kube-system - kube-system
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: kube-dns k8s-app: kube-dns
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment