I hit this today. If for any reason you don't want to delete your stale .kube/config (like in, it isn't stale), you can pipe the config through stdin and it will use it:
cat $KUBECONFIG | juju add-k8s --client k8s --skip-storage
I hit this today. If for any reason you don't want to delete your stale .kube/config (like in, it isn't stale), you can pipe the config through stdin and it will use it:
cat $KUBECONFIG | juju add-k8s --client k8s --skip-storage