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

auto-completing resources in non-default namespaces #17

Open
ggilmore opened this issue Jan 15, 2019 · 2 comments
Open

auto-completing resources in non-default namespaces #17

ggilmore opened this issue Jan 15, 2019 · 2 comments

Comments

@ggilmore
Copy link

ggilmore commented Jan 15, 2019

In the K8s clusters that I interact with, I have resources in two namespaces named prod and default. When I try to autocomplete pod names in the default namespace with kubectl get pod ... the pods from the default namespace are correctly listed. However, when I try complete pod names in the prod namespace with kubectl get pod -nprod ..., I only get pod names from the default namespace.

Should I expect this to work?

@evanlucas
Copy link
Owner

ah, sorry you are having an issue. I believe it should work if you put a space after the -n for now. I'll try to get around to fixing this in the next day or two. Thanks!

@ggilmore
Copy link
Author

Thanks! I should also mention that I see the same issue with kubectl get pod --namespace=prod ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants