1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/policy
Khaled Emara c9055ac2ff
fix(autogen): only generate rule for request kind (#9984)
* fix(autogen): only generate rule for request kind

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* feat(autogen): use jsoniter instead of std for json

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* chore(atogen): use sets instead of manipulating strings

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* fix(autogen): formatting linter

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* fix(autogen): backwards compatability

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* revert(autogen): old behavior

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>

* fix: builds error

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

---------

Signed-off-by: Khaled Emara <khaled.emara@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: ShutingZhao <shuting@nirmata.com>
2024-04-04 08:09:30 +00:00
..
auth fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
common Replaces manually written logic with regex for matching anchor elements (#6133) 2023-01-30 12:17:19 +00:00
generate fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
mutate fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
validate fix: add podSecurity validation checks for exceptions (#9817) 2024-02-28 08:21:10 +00:00
generate.go fix(autogen): only generate rule for request kind (#9984) 2024-04-04 08:09:30 +00:00
mutate.go refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
policy_controller.go refactor: mutate checks (#9255) 2023-12-22 15:07:17 +02:00
updaterequest.go fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
utils.go fix: Delete downstream objects on precondition fail (#7496) 2023-06-15 11:32:19 -04:00
utils_test.go fix: Delete downstream objects on precondition fail (#7496) 2023-06-15 11:32:19 -04:00