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

Support label selectors #23

Closed
reegnz opened this issue Apr 12, 2019 · 2 comments · Fixed by #26
Closed

Support label selectors #23

reegnz opened this issue Apr 12, 2019 · 2 comments · Fixed by #26
Labels
enhancement New feature or request

Comments

@reegnz
Copy link

reegnz commented Apr 12, 2019

Is your feature request related to a problem? Please describe.
I want to get all resources limited by a specific label selector.

Describe the solution you'd like
It would be great if ketall would support the "--selector" flag just as kubectl get does.

Describe alternatives you've considered
My alternative is to use "kubectl get" for each api-resource.

Additional context
Some of the kubernetes resources I create with terraform and label them with a custom label, eg. "k8s.example.com/terraform=owned". I want to collect all resources in the cluster that I have created with terraform by using a label selector.

@corneliusweig corneliusweig added the enhancement New feature or request label Apr 12, 2019
@corneliusweig
Copy link
Owner

@reegnz Thanks for reporting this. This is definitely something ketall should be able to.

@reegnz
Copy link
Author

reegnz commented Apr 13, 2019

Cool, you're awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants