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

Feature request: support for selectors #13

Open
joeblubaugh opened this issue Sep 6, 2024 · 0 comments
Open

Feature request: support for selectors #13

joeblubaugh opened this issue Sep 6, 2024 · 0 comments

Comments

@joeblubaugh
Copy link

I'd like to able to refine my :Kget by more than namespace when I have a long list of resources. Maybe one of these two approaches would work:

  1. Another command similar to :Kns, :Ksel where you could add a list of selectors. :Ksel label1=value1 label2=value2. These selectors are applied to :Kget. I like this because it doesn't add more optional arguments to :Kget, but selectors don't really apply to other vimkubernetes commands like :Kapply.
  2. Flags on :Kget, similar to the kubectl flags. Just let users write --selector label1=value1 --selector label2=value2 as part of their :Kget. This is less consistent with the rest of :Kget, which doesn't let you set flags like --namespace or --context.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant