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

Enable kubectl to complete kubectl get pod/... #1180

Closed
dhirschfeld opened this issue Feb 23, 2022 · 4 comments · Fixed by kubernetes/kubernetes#108493
Closed

Enable kubectl to complete kubectl get pod/... #1180

dhirschfeld opened this issue Feb 23, 2022 · 4 comments · Fixed by kubernetes/kubernetes#108493
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@dhirschfeld
Copy link

What would you like to be added:
Testing in PowerShell, kubectl can complete the pod name if you use a space:

kubectl get pod <pod-name>

However if you use a forward-slash the completion doesn't work:

kubectl get pod/<pod-name>

Why is this needed:
It would be nice if the completions supported both formats since kubectl itself accepts both formats.

@dhirschfeld dhirschfeld added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 23, 2022
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Feb 23, 2022
@eddiezane
Copy link
Member

This is possible and Marc may be working on it.

/triage accepted
/priority backlog
/assign @marckhouzam

@k8s-ci-robot
Copy link
Contributor

@eddiezane: GitHub didn't allow me to assign the following users: marckhouzam.

Note that only kubernetes members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

This is possible and Marc may be working on it.

/triage accepted
/priority backlog
/assign @marckhouzam

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.

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/backlog Higher priority than priority/awaiting-more-evidence. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 2, 2022
@marckhouzam
Copy link
Member

PR now available: kubernetes/kubernetes#108493

Feedback welcomed.

@marckhouzam
Copy link
Member

/assign @marckhouzam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants