This PR fixes the issue with the Kubernetes configure extensions when in some cases a sequential run of it clears kubeconfig file related to a stack in .hub/env/ directory. The root cause of such behavior was the wrong detection of the current kubecontext, leading to an empty cluster name and username.
This PR fixes the issue with the Kubernetes
configure
extensions when in some cases a sequential run of it clearskubeconfig
file related to a stack in.hub/env/
directory. The root cause of such behavior was the wrong detection of the current kubecontext, leading to an empty cluster name and username.