Find all resources (of any type) with certain labels #4021
Answered
by
shawkins
SoerenHenning
asked this question in
Q&A
-
Hi, is there any way to find (and eventually delete) all resources with some specified labels, independent of the resource type? The expected return type would be something such as a list of |
Beta Was this translation helpful? Give feedback.
Answered by
shawkins
Mar 30, 2022
Replies: 1 comment 1 reply
-
This has been asked for a couple of times, but has not been implemented: #887 Based upon the support that is now available in the client, if you don't want to explicitly enumerate the types you are searching over, you would have to walk the apiGroup information to find all kinds known to the api server. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SoerenHenning
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has been asked for a couple of times, but has not been implemented: #887
Based upon the support that is now available in the client, if you don't want to explicitly enumerate the types you are searching over, you would have to walk the apiGroup information to find all kinds known to the api server.