1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 23:46:56 +00:00
kyverno/pkg/engine/api
shuting 637f830917
feat: apply generate rules on trigger events (#6508)
* - fire generation on trigger deletion, with condition rules;
- delete downstream if trigger no longer matches;
- delete downstream if trigger is deleted, with sync rule

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

* trim condition key spaces

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

* fix UR spec

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

* add a kuttl test cpol-create-on-trigger-deletion

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

* add a kuttl test cpol-create-on-trigger-deletion

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

* add a kuttl test cpol-data-sync-delete-trigger

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

* add a kuttl test cpol-data-nosync-delete-trigger

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

* add a kuttl test cpol-data-sync-update-trigger-no-match

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

* rename policy

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

* add a kuttl test cpol-data-nosync-update-trigger-no-match

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

* fix

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

* add debug logs

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

* add a kuttl test cpol-clone-create-on-trigger-deletion

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

* update readme

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

* fix

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

* add a kuttl test cpol-clone-sync-delete-trigger

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

* add a kuttl test cpol-clone-nosync-delete-trigger

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

* add a kuttl test cpol-clone-sync-update-trigger-no-match

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

* update readme

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

* add a kuttl test cpol-clone-nosync-update-trigger-no-match

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

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-03-10 17:17:10 +00:00
..
context.go refactor: reduce store dependency in engine pkg (#6260) 2023-02-08 13:19:56 +00:00
contextloader.go refactor: reduce store dependency in engine pkg (#6260) 2023-02-08 13:19:56 +00:00
engine.go refactor: context loading and engine methods (#6253) 2023-02-08 13:55:03 +08:00
engineresponse.go refactor: remove validate failure actions from response (#6304) 2023-02-13 20:27:40 +08:00
engineresponse_test.go refactor: remove validate failure actions from response (#6304) 2023-02-13 20:27:40 +08:00
imageverifymetadata.go fix: add engine api unit tests (#6205) 2023-02-03 09:05:34 +00:00
imageverifymetadata_test.go fix: add engine api unit tests (#6205) 2023-02-03 09:05:34 +00:00
policycontext.go refactor: move client out of policy context (#6233) 2023-02-07 15:09:15 +00:00
policyresponse.go refactor: remove validate failure actions from response (#6304) 2023-02-13 20:27:40 +08:00
resolver.go refactor: move resolvers into engine api package (#6162) 2023-01-31 07:46:38 +00:00
resolver_test.go refactor: move resolvers into engine api package (#6162) 2023-01-31 07:46:38 +00:00
resourcespec.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00
resourcespec_test.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00
ruleresponse.go refactor: propagate exception in rule response (#6298) 2023-02-10 20:14:34 +00:00
ruleresponse_test.go refactor: make engine stats standard fields (#6301) 2023-02-10 11:35:55 -08:00
rulestatus.go feat: apply generate rules on trigger events (#6508) 2023-03-10 17:17:10 +00:00
ruletype.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00
selector.go refactor: move client out of policy context (#6233) 2023-02-07 15:09:15 +00:00
stats.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00