Skip to content
Snippets Groups Projects
Commit 09fe95bc authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by Kubernetes Prow Robot
Browse files

Avoid creating k8s cert dir on non-k8s nodes (#4602)

parent ada5941a
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
dest: "{{ kube_cert_compat_dir }}" dest: "{{ kube_cert_compat_dir }}"
state: link state: link
when: when:
- inventory_hostname in groups['k8s-cluster']
- kube_cert_dir != kube_cert_compat_dir - kube_cert_dir != kube_cert_compat_dir
- name: Create cni directories - name: Create cni directories
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment