1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
Chandan-DK fc7eb295ef
test: add tests for isAnyNotIn function and lazy evaluate it (#7972)
* Lazy evaluate isAnyNotIn function

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* Add unit tests

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

* add empty string test and rephrase a test name

Signed-off-by: Chandan-DK <chandandk468@gmail.com>

---------

Signed-off-by: Chandan-DK <chandandk468@gmail.com>
Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2023-09-11 16:10:49 +00:00
..
adapters fix: cache invalidation in FindResources (#8316) 2023-09-08 15:51:25 +02:00
anchor feat: add fuzzers from cncf-fuzzing (#8027) 2023-08-16 16:42:37 +00:00
api fix: TODOs in cli (#8333) 2023-09-11 15:24:10 +00:00
apicall refactor: add specific loaders from #7597 (#7671) 2023-06-26 13:31:40 +00:00
context fix: return error in LoadMatching (#8234) 2023-09-04 22:42:27 +00:00
factories fix: logger calls (#8211) 2023-09-01 12:32:13 +00:00
handlers fix: cache invalidation in FindResources (#8316) 2023-09-08 15:51:25 +02:00
internal feat: support authorizer variable in CEL expressions (#8024) 2023-09-05 10:16:50 +00:00
jmespath fix: remove jmespath replace directive (#7726) 2023-07-07 10:22:26 +00:00
jsonutils refactor: move util funcs in sub packages (#5754) 2022-12-22 06:39:54 +00:00
mutate feat: switch json patch lib for real (#7452) 2023-06-08 10:23:20 +00:00
operator fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
pattern fix: abort validation if value could be processed (#7307) 2023-06-06 14:41:20 +00:00
policycontext Fix deferred loading (#7597) 2023-06-27 09:58:50 -07:00
resources refactor: introduce engine handler (#6680) 2023-03-24 16:24:00 +00:00
utils chore: move kyverno.io/verify-images constant (#7955) 2023-08-02 14:02:21 +00:00
validate update k8s.gcr.io to registry.k8s.io (#6340) 2023-02-20 13:40:12 +00:00
variables test: add tests for isAnyNotIn function and lazy evaluate it (#7972) 2023-09-11 16:10:49 +00:00
wildcards fix: add type conversion error judgment to avoid program panic (#6526) 2023-06-14 14:24:45 +00:00
attestation_test.go Conditions message (#7113) 2023-05-08 15:34:23 +08:00
background.go fix: Delete downstream objects on precondition fail (#7496) 2023-06-15 11:32:19 -04:00
engine.go feat: add basic structure for image verify cache (#7890) 2023-08-06 21:54:52 +02:00
exceptions.go fix: exceptions not considered on delete (#7433) 2023-06-06 22:15:10 +08:00
forceMutate.go refactor: remove json patches from engine response (#7449) 2023-06-07 17:45:11 +08:00
forceMutate_test.go refactor: introduce jmespath interface (#6882) 2023-04-13 11:29:40 +00:00
fuzz_test.go refactor: create cel package for compiling expressions (#8108) 2023-08-24 14:06:37 +00:00
generation.go refactor: don't process context/preconditions in invokeHandler (#6751) 2023-04-03 12:57:48 +08:00
image_verify.go feat: add basic structure for image verify cache (#7890) 2023-08-06 21:54:52 +02:00
image_verify_test.go feat: update condition in image verify cache tests (#8318) 2023-09-11 14:22:10 +00:00
metrics.go Add an abstraction interface for Kyverno policies and validating admission policies (#8016) 2023-08-15 12:41:43 -07:00
mutation.go refactor: policy response (#6877) 2023-04-12 16:20:42 +00:00
mutation_test.go feat: add basic structure for image verify cache (#7890) 2023-08-06 21:54:52 +02:00
policy_context.go refactor: hide json context from caller (#7139) 2023-05-12 14:14:48 +00:00
validation.go feat: support cel expression in validate rules (#7070) 2023-05-31 14:30:55 -07:00
validation_test.go feat: add basic structure for image verify cache (#7890) 2023-08-06 21:54:52 +02:00