[feature] Update CoreDNS manifests (#9977)

This commit is contained in:
Mohamed Omar Zaian
2023-04-13 06:38:35 +02:00
committed by GitHub
parent 43216436ab
commit ed6f8df784
3 changed files with 27 additions and 24 deletions

View File

@ -22,9 +22,11 @@ spec:
labels: labels:
k8s-app: kube-dns{{ coredns_ordinal_suffix }} k8s-app: kube-dns{{ coredns_ordinal_suffix }}
annotations: annotations:
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
createdby: 'kubespray' createdby: 'kubespray'
spec: spec:
securityContext:
seccompProfile:
type: RuntimeDefault
nodeSelector: nodeSelector:
{{ coredns_deployment_nodeselector }} {{ coredns_deployment_nodeselector }}
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical

View File

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