mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-28 14:41:02 +01:00
contrib/kube-prometheus: Add jobLabel to ServiceMonitorCoreDNS
This commit is contained in:
parent
c82bae5b55
commit
e6c43d286d
@ -391,6 +391,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
spec: {
|
spec: {
|
||||||
|
jobLabel: 'k8s-app',
|
||||||
selector: {
|
selector: {
|
||||||
matchLabels: {
|
matchLabels: {
|
||||||
'k8s-app': 'kube-dns',
|
'k8s-app': 'kube-dns',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user