-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Tab completion breaks if using recommended alias kubectl='minikube kubectl --' #12938
Comments
You could try making "kubectl" a symlink to "minikube", rather than a bash alias. |
found this workaround. put it in bashrc:
|
nah, same problem, minikube starts kubectl with --cluster minikube before the completion stuff, and kubectl cant handle that (see the bug i linked). |
hm.. that seems like a feature it can't do, I would accept a purposal or a PR that would fix or find a work around for this? we would need to add the --cluster because the user might have multiple clusters and that had caused our tests to fail |
well, until they fix kubectl, you can maybe provide an official and supported way to directly call the kubectl installed by minikube? |
just realized that my hack doesnt work if the minikube node is down... because of reasons. this does work however:
it's even worse though. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@vcc-huf is this a good work arround ? if yes you could add it to our website as a tip for other users |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Same on Windows actually. The command |
Maybe it would be sufficient to update the following line to simply accept minikube/cmd/minikube/cmd/kubectl.go Line 99 in 8d34afd
|
Created PullRequest with the fix, now the |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I had to change this a little to work:
|
result:
only the commands get tab-completed, nothing after that.
the underlying issue is this:
this works however:
related to this: kubernetes/kubectl#884
The text was updated successfully, but these errors were encountered: