mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-24 09:07:47 -02:30
Remove deletion of coredns deployment. (#7211)
* Add unique annotation on coredns deployment and only remove existing deployment if annotation is missing.
* Ignore errors when gathering coredns deployment details to handle case where it doesn't exist yet
* Remove run_once, deletegate_to and add to when statement
(cherry picked from commit 0cc1726781)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5f06864582
commit
189ce380bd
@@ -23,6 +23,7 @@ spec:
|
||||
k8s-app: kube-dns{{ coredns_ordinal_suffix }}
|
||||
annotations:
|
||||
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
|
||||
createdby: 'kubespray'
|
||||
spec:
|
||||
priorityClassName: system-cluster-critical
|
||||
nodeSelector:
|
||||
|
||||
Reference in New Issue
Block a user