1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
shuting bd71af3291
feat: support foreach for generate.data (#10875)
* chore: refactor

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: add foreach for generate.daya to api

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: refactor generator

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: linter

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: update rule validation

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: update rule validation -2

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: support foreach.data

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: policy validation

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: context variables

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: add a chainsaw test

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: sync on policy deletion

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: enable new chainsaw tests in CI

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: update code-gen

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: validate targets scope for ns-policies

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: add missing files

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: remove unreasonable test

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: update docs

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: update install.yaml

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
2024-08-19 06:55:19 +00:00
..
adapters fix: add the resource name to the SubjectAccessReview (#10221) 2024-08-07 12:46:44 +00:00
anchor fix: validate pattern premature skip (#9155) 2024-01-29 13:06:39 +00:00
api feat: support foreach for generate.data (#10875) 2024-08-19 06:55:19 +00:00
apicall chore(apicall): remove duplicate code (#9880) 2024-03-11 15:30:29 +08:00
context feat(json): reduce reliance on DocumentToUntyped() (#10724) 2024-07-29 11:57:20 +00:00
factories feat: add globalcontext loader and interface (#9602) 2024-02-05 11:24:37 +00:00
handlers feat(mutate): minimize unmarshals (#10702) 2024-08-09 11:12:20 +00:00
internal feat: add support for sigstore bundle verification (#10567) 2024-08-16 11:36:48 +00:00
jmespath feat(perf): add new linter prealloc to enforce slice declarations best practice (#10250) 2024-05-20 14:46:35 +05:30
jsonutils feat(json): reduce reliance on DocumentToUntyped() (#10724) 2024-07-29 11:57:20 +00:00
mutate feat(mutate): minimize unmarshals (#10702) 2024-08-09 11:12:20 +00: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 feat: bump update request api version (#10508) 2024-06-20 09:44:43 +00:00
resources refactor: introduce engine handler (#6680) 2023-03-24 16:24:00 +00:00
utils fix: return policies with either audit or enforce rules from the cache (#10667) 2024-08-06 18:24:28 +00:00
validate fix(anchor): skip anchors don't have priority (#10206) 2024-05-22 09:04:14 +00:00
variables reduce recursions for nested var substutution (#10877) 2024-08-18 17:40:27 +08: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 fix: return all the exceptions that match the incoming resource (#10722) 2024-07-25 17:36:19 +00:00
engine.go fix: remove unused parameters (#10330) 2024-05-29 23:29:24 +00:00
exceptions.go chore: use v2 clients for policy exceptions (#10530) 2024-06-24 16:36:55 +00:00
forceMutate.go feat(json): unmarshal once per policy (#10701) 2024-07-30 10:52:41 +00:00
forceMutate_test.go Improved test covergae for forceMutate (#10103) 2024-07-24 10:43:07 +00:00
fuzz_test.go fix: remove unused parameters (#10330) 2024-05-29 23:29:24 +00:00
generation.go fix: remove unused parameters (#10330) 2024-05-29 23:29:24 +00:00
image_verify.go fix(autogen): only generate rule for request kind (#9984) 2024-04-04 08:09:30 +00:00
image_verify_test.go fix: remove unused parameters (#10330) 2024-05-29 23:29:24 +00:00
metrics.go fix: change generic policy to not return any (#9463) 2024-01-20 19:20:22 +02:00
mutation.go fix: Check for the client being nil before applying a mutation (#10726) 2024-07-26 10:49:51 +00:00
mutation_test.go fix: return policies with either audit or enforce rules from the cache (#10667) 2024-08-06 18:24:28 +00:00
policy_context.go refactor: hide json context from caller (#7139) 2023-05-12 14:14:48 +00:00
validation.go feat: add kyverno json support to validation rule (#10763) 2024-08-02 08:24:30 +00:00
validation_test.go fix: return policies with either audit or enforce rules from the cache (#10667) 2024-08-06 18:24:28 +00:00