Avoid creating k8s cert dir on non-k8s nodes (#4602)
parent
ada5941a70
commit
09fe95bc60
|
@ -29,6 +29,7 @@
|
|||
dest: "{{ kube_cert_compat_dir }}"
|
||||
state: link
|
||||
when:
|
||||
- inventory_hostname in groups['k8s-cluster']
|
||||
- kube_cert_dir != kube_cert_compat_dir
|
||||
|
||||
- name: Create cni directories
|
||||
|
|
Loading…
Reference in New Issue