mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-09 23:12:10 -03:30
make admin.conf -> .kube/config non-executable
Almost certainly, the .kube/config file (YAML) should not be executable.
This commit is contained in:
parent
63fdfae918
commit
49d106f615
@ -40,7 +40,7 @@
|
||||
src: "{{ kube_config_dir }}/admin.conf"
|
||||
dest: "/root/.kube/config"
|
||||
remote_src: yes
|
||||
mode: "0700"
|
||||
mode: "0600"
|
||||
backup: yes
|
||||
|
||||
- name: Copy admin kubeconfig to ansible host
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user