minikube kubectl --profile
does not switch context
#10143
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Steps to reproduce the issue:
kubectl config use-context cluster-a
minikube kubectl --profile cluster-b -- get ns
, context isn't switched from cluster-a to cluster-b and cluster-a namespaces are shown.The reason is that
minikube/cmd/minikube/cmd/kubectl.go
Lines 34 to 81 in 5ce9d99
--profile
.Full output of failed command:
N/A
Full output of
minikube start
command used, if not already included:N/A
Optional: Full output of
minikube logs
command:The text was updated successfully, but these errors were encountered: