Closed vishal-chdhry closed 6 months ago
Right now the whole syntax is about assertions.
You can use expressions on the RHS, would it solve the problem ?
@vishal-chdhry @eddycharly - can we take a Kyverno policy with this logic and try that out?
@vishal-chdhry please provide a concrete example of what you are trying to do
I would like to go with this issue!
jmespath can cover almost all of the scenarios
Problem Statement
Kyverno json supports if-else logic using boolean algebra right now and is completely able to express it. But it can be tricky to implement if-else in boolean expression in some cases. It would be great if there was direct support for it.
Solution Description
No response
Alternatives
No response
Additional Context
No response
Slack discussion
No response
Research