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

@@ -32,6 +32,7 @@
template:
src: "kubeadm-controlplane.{{ kubeadmConfig_api_version }}.yaml.j2"
dest: "{{ kube_config_dir }}/kubeadm-controlplane.yaml"
mode: 0640
backup: yes
when:
- inventory_hostname != groups['kube-master']|first