From 9247137e60a79cb3b1eb50705fd6bdd653e6f819 Mon Sep 17 00:00:00 2001 From: stelucz Date: Fri, 3 Feb 2023 00:42:28 +0100 Subject: [PATCH] Replace label `k8s-app: nodelocaldns` in DaemonSet template by `k8s-app: node-local-dns` (#9745) --- .../ansible/templates/nodelocaldns-daemonset.yml.j2 | 4 ++-- .../ansible/templates/nodelocaldns-second-daemonset.yml.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/kubernetes-apps/ansible/templates/nodelocaldns-daemonset.yml.j2 b/roles/kubernetes-apps/ansible/templates/nodelocaldns-daemonset.yml.j2 index 7c63e28fa..9ca15d700 100644 --- a/roles/kubernetes-apps/ansible/templates/nodelocaldns-daemonset.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/nodelocaldns-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 }}' diff --git a/roles/kubernetes-apps/ansible/templates/nodelocaldns-second-daemonset.yml.j2 b/roles/kubernetes-apps/ansible/templates/nodelocaldns-second-daemonset.yml.j2 index 037bf446e..df9405e4d 100644 --- a/roles/kubernetes-apps/ansible/templates/nodelocaldns-second-daemonset.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/nodelocaldns-second-daemonset.yml.j2 @@ -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 }}'