Skip to content

Commit

Permalink
Ask users to get ownership of their .kube when entering the microk8s …
Browse files Browse the repository at this point in the history
…group (#1027)
  • Loading branch information
ktsakalozos authored Mar 17, 2020
1 parent 60e5329 commit cfa6f38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions microk8s-resources/actions/common/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exit_if_no_permissions() {
echo "You can either try again with sudo or add the user $USER to the 'microk8s' group:" >&2
echo "" >&2
echo " sudo usermod -a -G microk8s $USER" >&2
echo " sudo chown -f -R $USER ~/.kube" >&2
echo "" >&2
echo "The new group will be available on the user's next login." >&2
exit 1
Expand Down

0 comments on commit cfa6f38

Please sign in to comment.