mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Stop templating kube-system namespace and creating it (#2545)
Kubernetes makes this namespace automatically, so there is no need for kubespray to manage it.
This commit is contained in:
@@ -44,5 +44,5 @@
|
||||
when: needs_rotation
|
||||
|
||||
- name: Rotate Tokens | Delete pods in system namespace
|
||||
command: "{{ bin_dir }}/kubectl delete pods -n {{ system_namespace }} --all"
|
||||
command: "{{ bin_dir }}/kubectl delete pods -n kube-system --all"
|
||||
when: needs_rotation
|
||||
|
||||
Reference in New Issue
Block a user