1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 07:26:55 +00:00
kyverno/pkg/engine/variables
Jim Bugwadia 07be2d9d72
lazy evaluate vars in conditions (#7238)
* lazy evaluate vars in conditions

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* remove unnecessary conversion

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* Update test/conformance/kuttl/validate/clusterpolicy/standard/variables/lazyload/conditions/03-manifests.yaml

Signed-off-by: shuting <shutting06@gmail.com>

* Update test/conformance/kuttl/validate/clusterpolicy/standard/variables/lazyload/README.md

Signed-off-by: shuting <shutting06@gmail.com>

* added error check in test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

---------

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: shuting <shutting06@gmail.com>
Co-authored-by: shuting <shutting06@gmail.com>
Co-authored-by: kyverno-bot <104836976+kyverno-bot@users.noreply.github.com>
2023-05-20 21:06:54 +00:00
..
operator [Chore] Bump to Go 1.20 (#6683) 2023-04-03 11:40:47 +00:00
regex feat: apply generate rules on trigger events (#6508) 2023-03-10 17:17:10 +00:00
errs.go feat: cleanup enhancements-1 (#5796) 2023-01-04 09:03:56 +00:00
evaluate.go lazy evaluate vars in conditions (#7238) 2023-05-20 21:06:54 +00:00
evaluate_test.go lazy evaluate vars in conditions (#7238) 2023-05-20 21:06:54 +00:00
variables_test.go refactor: introduce jmespath interface (#6882) 2023-04-13 11:29:40 +00:00
vars.go refactor: introduce image mutation handler (#6735) 2023-03-31 06:41:48 +00:00
vars_test.go refactor: introduce jmespath interface (#6882) 2023-04-13 11:29:40 +00:00