diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-02-10 13:25:59 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-02-10 13:25:59 +0100 |
commit | 8c2447c37deb1a20fb211d638f2fae017e3f6bcf (patch) | |
tree | 7bbee13b98a8ea14c6cf9ef0311541eb5f1b1213 /ansible | |
parent | 6578753dffe0f2c0828df345ec371945cdc03cb0 (diff) |
Fix kubeconfig file permissions
Kubeconfig file should not be world readable. Helm v3 prints relevant
warning to stderr if it's (kubeconfig) mode is incorrect.
Change-Id: I9d2b8618cd3e43a49345e96f6ed5169438a29cef
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/rke/tasks/rke_deploy.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/rke/tasks/rke_deploy.yml b/ansible/roles/rke/tasks/rke_deploy.yml index 7b36f55d..17861ad2 100644 --- a/ansible/roles/rke/tasks/rke_deploy.yml +++ b/ansible/roles/rke/tasks/rke_deploy.yml @@ -23,4 +23,4 @@ src: "{{ cluster_config_dir }}/kube_config_cluster.yml" dest: "{{ kube_config_dir }}/config" remote_src: true - mode: 0755 + mode: 0600 |