Sounds like the TODOs here are:
-
Juju should make sure to create
/var/snap/juju/current/microk8s/credentials
so the user doesn’t have to do it manually. -
@jose-mingorance should consider changing the way to do the second step to something simpler and safer such as
microk8s config | juju add-k8s --client microk8s
.
If it helps: Note that this only affects users who already have a MicroK8s installed from a snap that is not strictly confined.