1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
mohamedasifs123 d566e9886c
Fix :variables are not getting processed in validation message for "anyPattern" (#9713)
* Update validate_resource.go

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Create pod.yaml

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Create chainsaw-test.yaml

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Create policy.yaml

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Update validate_resource.go

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* test

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* test

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* test

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* test

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Update chainsaw-test.yaml

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Create README.md

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Update test/conformance/chainsaw/validate/clusterpolicy/cornercases/variable-substitution-failure-messages/README.md

Co-authored-by: Mariam Fahmy <mariamfahmy66@gmail.com>
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Update test/conformance/chainsaw/validate/clusterpolicy/cornercases/variable-substitution-failure-messages/README.md

Co-authored-by: Mariam Fahmy <mariamfahmy66@gmail.com>
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Update test/conformance/chainsaw/validate/clusterpolicy/cornercases/variable-substitution-failure-messages/chainsaw-test.yaml

Co-authored-by: Mariam Fahmy <mariamfahmy66@gmail.com>
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

* Update test/conformance/chainsaw/validate/clusterpolicy/cornercases/variable-substitution-failure-messages/README.md

Co-authored-by: Mariam Fahmy <mariamfahmy66@gmail.com>
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>

---------

Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>
Co-authored-by: Mariam Fahmy <mariamfahmy66@gmail.com>
2024-02-21 07:20:43 +00:00
..
adapters chore: use sigstore/cosign 2.2.2 on main (#9179) 2023-12-18 06:41:26 +00:00
anchor fix: validate pattern premature skip (#9155) 2024-01-29 13:06:39 +00:00
api feat: support vap bindings in reports (#9506) 2024-01-29 12:49:17 +01:00
apicall fix: global context crd improvements (#9621) 2024-02-02 17:42:20 +00:00
context test(globalcontext): add e2e tests (#9661) 2024-02-06 17:03:32 +00:00
factories feat: add globalcontext loader and interface (#9602) 2024-02-05 11:24:37 +00:00
handlers Fix :variables are not getting processed in validation message for "anyPattern" (#9713) 2024-02-21 07:20:43 +00:00
internal fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00:00
jmespath feat(jmespath):time_parse() support epoch time (#9173) 2024-01-30 07:47:02 +00:00
jsonutils optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00:00
mutate refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
operator fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
pattern chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
policycontext fix: allow changes to preexisting resource in violation of a policy in Enforce (#9027) 2023-12-12 09:17:53 +00:00
resources refactor: introduce engine handler (#6680) 2023-03-24 16:24:00 +00:00
utils feat: add skipImageReferences in verify images (#8633) 2024-01-23 12:27:39 +00:00
validate fix: validate pattern premature skip (#9155) 2024-01-29 13:06:39 +00:00
variables feat: add fail/warn on deprecated/invalid operators (#8624) 2024-01-31 08:40:28 +00:00
wildcards chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
attestation_test.go Conditions message (#7113) 2023-05-08 15:34:23 +08:00
background.go refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
engine.go fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00:00
exceptions.go fix: set v2beta1 of exceptions the storage version (#9254) 2023-12-22 10:13:58 +00: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 fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00:00
generation.go refactor: don't process context/preconditions in invokeHandler (#6751) 2023-04-03 12:57:48 +08:00
image_verify.go fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00:00
image_verify_test.go fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00:00
metrics.go fix: change generic policy to not return any (#9463) 2024-01-20 19:20:22 +02:00
mutation.go refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
mutation_test.go fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00: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 fix: remove deprecated imageSignatureRepository flag (#9698) 2024-02-08 12:10:29 +00:00