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

@@ -3,6 +3,7 @@
copy:
src: "{{ kube_cert_dir }}/{{ item.src }}"
dest: "{{ kube_cert_dir }}/{{ item.dest }}"
mode: 0640
remote_src: yes
with_items:
- {src: apiserver.pem, dest: apiserver.crt}