Reconcile nodelocaldns config with kubernetes sample config

* Add label kubernetes.io/cluster-service: "true"
* Set k8s-app label to node-local-dns
pull/11238/head
Evan Anderson 2024-05-27 15:04:07 -05:00
parent 001b16eee7
commit 454be28c07
No known key found for this signature in database
GPG Key ID: 843CA81BB70B8CE8
3 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,8 @@ metadata:
name: nodelocaldns
namespace: kube-system
labels:
k8s-app: kube-dns
k8s-app: node-local-dns
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
selector:

View File

@ -4,4 +4,5 @@ metadata:
name: nodelocaldns
namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile

View File

@ -4,7 +4,8 @@ metadata:
name: nodelocaldns-second
namespace: kube-system
labels:
k8s-app: kube-dns
k8s-app: node-local-dns
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
selector: