Browse Source

make admin.conf -> .kube/config non-executable

Almost certainly, the .kube/config file (YAML) should not be executable.
pull/2772/head
Christopher J. Ruwe 6 years ago
parent
commit
49d106f615
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/client/tasks/main.yml

2
roles/kubernetes/client/tasks/main.yml

@ -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…
Cancel
Save