You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to select Secret and ConfigMap based on their annotations
Is your feature request related to a problem? Please describe.
If I select all of the ConfigMaps and handle my job by an if that compares annotations I have to handle lots of resources and that's not efficient.
Describe the solution you'd like to see
Extra field for annotation selector that will do something like this
but instead of returning some values return all of them
kubectl get service -A -o jsonpath='{range .items[?(@.metadata.annotations.prometheus\.io/scrape=="true")]}{ .metadata.namespace },{ .metadata.name}{"\n"}{end}'
Describe alternatives you've considered
Watching for all of them, select them if annotation set by using if
Additional context
The text was updated successfully, but these errors were encountered:
I want to select
Secret
andConfigMap
based on their annotationsIs your feature request related to a problem? Please describe.
If I select all of the
ConfigMap
s and handle my job by anif
that compares annotations I have to handle lots of resources and that's not efficient.Describe the solution you'd like to see
Extra field for annotation selector that will do something like this
but instead of returning some values return all of them
Describe alternatives you've considered
Watching for all of them, select them if annotation set by using
if
Additional context
The text was updated successfully, but these errors were encountered: