Set certs and files with kubeadm token to mode 0640 (#5325)

Change-Id: I298496e55a6889c158b2085fcadeda5e679a873e
This commit is contained in:
Matthew Mosesohn
2019-11-11 16:41:41 +03:00
committed by Kubernetes Prow Robot
parent 97764921ed
commit db5040e6ea
6 changed files with 6 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
copy:
src: "{{ kubeconfig_temp_dir.path }}/{{ item }}"
dest: "{{ kube_config_dir }}/{{ item }}"
mode: 0640
remote_src: yes
when: kubeconfig_correct_apiserver.rc != 0
with_items: