Is your feature request related to a problem? Please describe.
When I define resource EventSource, I always want to judge the target resource status or some other fields, LabelSelecor and FieldSelector is too limited.
Describe the solution you'd like
We can use lua as DSL and Unstructured object of resource as paremeter to judge weather current resource is the desired status, just like what argo gitops-engine did.
Describe alternatives you've considered
More flexible expression ability.
Additional context
This is a similar example.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
Is your feature request related to a problem? Please describe. When I define resource EventSource, I always want to judge the target resource status or some other fields, LabelSelecor and FieldSelector is too limited.
Describe the solution you'd like We can use lua as DSL and Unstructured object of resource as paremeter to judge weather current resource is the desired status, just like what argo gitops-engine did.
Describe alternatives you've considered More flexible expression ability.
Additional context This is a similar example.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.