1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-23 12:37:30 +00:00
kyverno/pkg/engine
Jim Bugwadia 07be2d9d72
lazy evaluate vars in conditions ()
* 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
..
anchor Replaces manually written logic with regex for matching anchor elements () 2023-01-30 12:17:19 +00:00
api fix: use structured jsonpatch instead of byte arrays () 2023-05-13 16:56:54 +08:00
apicall add support for Kubernetes API server POST () 2023-04-26 16:31:44 -07:00
context fix: preconditions in mutate existing rules () 2023-05-12 15:43:36 +00:00
handlers fix: use structured jsonpatch instead of byte arrays () 2023-05-13 16:56:54 +08:00
internal lazy evaluate vars in conditions () 2023-05-20 21:06:54 +00:00
jmespath Added Support for CSR in x509_decode() () 2023-04-14 09:36:38 +00:00
jsonutils refactor: move util funcs in sub packages () 2022-12-22 06:39:54 +00:00
mutate fix: use structured jsonpatch instead of byte arrays () 2023-05-13 16:56:54 +08:00
operator fix: change inrange operator regexs () 2023-01-16 16:23:36 +01:00
pattern test: add pattern pkg unit tests () 2023-02-10 14:17:36 +08:00
policycontext refactor: hide json context from caller () 2023-05-12 14:14:48 +00:00
resources refactor: introduce engine handler () 2023-03-24 16:24:00 +00:00
test refactor: introduce jmespath interface () 2023-04-13 11:29:40 +00:00
utils fix ns selector () 2023-04-13 08:17:28 +00:00
validate update k8s.gcr.io to registry.k8s.io () 2023-02-20 13:40:12 +00:00
variables lazy evaluate vars in conditions () 2023-05-20 21:06:54 +00:00
wildcards Replaces manually written logic with regex for matching anchor elements () 2023-01-30 12:17:19 +00:00
attestation_test.go Conditions message () 2023-05-08 15:34:23 +08:00
background.go lazy evaluate vars in conditions () 2023-05-20 21:06:54 +00:00
engine.go fix: match logic misbehave () 2023-05-18 21:57:57 +00:00
exceptions.go fix: remove excluded groups from matching () 2023-05-03 21:37:17 +08:00
forceMutate.go refactor: engine patchers () 2023-04-28 15:31:12 +08:00
forceMutate_test.go refactor: introduce jmespath interface () 2023-04-13 11:29:40 +00:00
generation.go refactor: don't process context/preconditions in invokeHandler () 2023-04-03 12:57:48 +08:00
image_verify.go refactor: policy response () 2023-04-12 16:20:42 +00:00
image_verify_test.go fix: use structured jsonpatch instead of byte arrays () 2023-05-13 16:56:54 +08:00
metrics.go chore: bump otel deps () 2023-05-11 10:16:48 +00:00
mutation.go refactor: policy response () 2023-04-12 16:20:42 +00:00
mutation_test.go fix: use structured jsonpatch instead of byte arrays () 2023-05-13 16:56:54 +08:00
policy_context.go refactor: hide json context from caller () 2023-05-12 14:14:48 +00:00
validation.go refactor: policy response () 2023-04-12 16:20:42 +00:00
validation_test.go lazy evaluate vars in conditions () 2023-05-20 21:06:54 +00:00