1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/background/generate
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
..
cleanup.go fix: properly update policy context after preexisting resource in violation check (#9893) 2024-03-13 16:24:53 +00:00
clone.go feat: Add support for server-side-apply in generate rules (#7705) 2023-08-02 17:59:37 +00:00
data.go fix: array element removal should be synced to the downstream resource with a generate data sync rule (#7417) 2023-06-06 12:07:07 +02:00
generate.go fix(autogen): only generate rule for request kind (#9984) 2024-04-04 08:09:30 +00:00
response.go fix: array element removal should be synced to the downstream resource with a generate data sync rule (#7417) 2023-06-06 12:07:07 +02:00
source.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: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
validate.go refactor: engine pattern package and add duration support (#5958) 2023-01-10 14:07:26 +01:00
validate_test.go refactor generate controller (#3589) 2022-04-13 12:45:04 +00:00