Tide and kubectl conflicts
Silverbullet069 opened this issue · 1 comments
Silverbullet069 commented
Describe the bug
If you, by any chance, ran kubectl before but haven't uninstall or unset all the properties, Tide still remember the kubectl info and display on terminal.
Steps to reproduce
- Config GKE cluster using
kubectl
- Install Tide latest version
fisher install IlanCosman/tide@v5
- See error
Screenshots
What that line is "gke_load-test-k8s-locust-demo_asia-southeast1-c_gke-lt-cluster-demo"
Environment
Output of tide bug-report
:
Additional context
This output coincidently match my kubectl profile:
- Project name is "gke_load-test-k8s-locust-demo"
- Time zone is "asia-southeast1-c"
- Name of my GKE cluster "gke-lt-cluster-demo".
Solution
Run the following lines:
kubectl config unset users
kubectl config unset contexts
kubectl config unset clusters
Problem should be solved by now.
max-sixty commented
I'm just a user but — presumably this is just reading the kubectl config file? How would tide know you didn't want to show this?