Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
bad permissions on ~/.kube/ on kubernetes-worker units #173
When the kubernetes-work charm creates ~/.kube/config, it does so as root.
However, this leaves ~/.kube owned by root:root, which prevents kubectl commands running on the unit from using caching. Example error message (from
This issue is resolved with a simple "chown ubuntu:ubuntu ~/.kube"