kubespray/roles/kubernetes/client
Kenichi Omichi e6c28982dd
Chmod kubeconfig to avoid group-readable (#6800)
After upgrading to newer Kubernetes(v1.17 at least), kubectl command
shows the following warning message:

  WARNING: Kubernetes configuration file is group-readable.
  This is insecure. Location: /home/foo/.kube/config

The kubeconfig was copied from {{ artifacts_dir }}/admin.conf with
kubeconfig_localhost feature. It is better to set valid file mode
at getting it on Kubespray.
2020-10-09 01:39:08 -07:00
..
defaults Revert "Fix #4237: update kube cert path (#4354)" (#4369) 2019-03-20 05:56:57 -07:00
tasks Chmod kubeconfig to avoid group-readable (#6800) 2020-10-09 01:39:08 -07:00