Browse Source
Replace label `k8s-app: nodelocaldns` in DaemonSet template by `k8s-app: node-local-dns` (#9745)
pull/9755/head
stelucz
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
roles/kubernetes-apps/ansible/templates/nodelocaldns-daemonset.yml.j2
-
roles/kubernetes-apps/ansible/templates/nodelocaldns-second-daemonset.yml.j2
|
|
@ -9,11 +9,11 @@ metadata: |
|
|
|
spec: |
|
|
|
selector: |
|
|
|
matchLabels: |
|
|
|
k8s-app: nodelocaldns |
|
|
|
k8s-app: node-local-dns |
|
|
|
template: |
|
|
|
metadata: |
|
|
|
labels: |
|
|
|
k8s-app: nodelocaldns |
|
|
|
k8s-app: node-local-dns |
|
|
|
annotations: |
|
|
|
prometheus.io/scrape: 'true' |
|
|
|
prometheus.io/port: '{{ nodelocaldns_prometheus_port }}' |
|
|
|
|
|
@ -9,11 +9,11 @@ metadata: |
|
|
|
spec: |
|
|
|
selector: |
|
|
|
matchLabels: |
|
|
|
k8s-app: nodelocaldns-second |
|
|
|
k8s-app: node-local-dns-second |
|
|
|
template: |
|
|
|
metadata: |
|
|
|
labels: |
|
|
|
k8s-app: nodelocaldns-second |
|
|
|
k8s-app: node-local-dns-second |
|
|
|
annotations: |
|
|
|
prometheus.io/scrape: 'true' |
|
|
|
prometheus.io/port: '{{ nodelocaldns_secondary_prometheus_port }}' |
|
|
|