Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear kube config when turning off kubernetes #1143

Open
azdanov opened this issue Apr 23, 2024 · 0 comments
Open

Clear kube config when turning off kubernetes #1143

azdanov opened this issue Apr 23, 2024 · 0 comments
Labels
t/feature New feature

Comments

@azdanov
Copy link

azdanov commented Apr 23, 2024

Is your feature request related to a problem? Please describe.
When turning off Kubernetes support it would be good to clear the current kube config. Similar as how minikube delete removes all the configuration.

Describe the solution you'd like
When turning off kubernetes I would like my kube config to be clear from orbstack specific settings.

Describe alternatives you've considered
At the moment I have to run.

kubectl config unset clusters
kubectl config unset contexts
kubectl config unset users
kubectl config unset current-context

Additional context
When turning on kubernetes the kubeconfig is updated to have orbstack, it can be similar when turning off that it gets removed.

@azdanov azdanov added the t/feature New feature label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant