1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00
kyverno/pkg/policy
Charles-Edouard Brétéché 784ca07419
refactor: engine rule response creation (#6784)
* refactor: engine rule response creation

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* private fields

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* more private

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix unit tests

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-04-05 10:35:38 +00:00
..
common Replaces manually written logic with regex for matching anchor elements (#6133) 2023-01-30 12:17:19 +00:00
generate fix: replace more refect.DeepEqual (#6674) 2023-03-24 10:01:49 +00:00
mutate feat: add context/preconditions support to mutate existing (#6754) 2023-04-03 19:58:58 +00:00
validate fix: block generate policies when lack of permission to operate downstream resources (#6610) 2023-03-22 13:14:57 +00:00
actions.go fix: block generate policies when lack of permission to operate downstream resources (#6610) 2023-03-22 13:14:57 +00:00
allowed_vars_test.go #6055 Add JMESPath support to imageExtractors (#6183) 2023-02-08 11:54:59 +00:00
background.go Nested foreach (#5589) 2022-12-12 15:20:20 +00:00
background_test.go refactor: simplify variables regex (#5075) 2022-10-21 11:51:14 +08:00
generate.go fix: apply generate existing when a new rule is added (#6472) 2023-03-06 15:40:49 +00:00
mutate.go fix: delete downstream for a generate rule removal, with data and sync (#6393) 2023-03-01 03:48:18 +00:00
on_update_policy_test.go refactor: simplify variables regex (#5075) 2022-10-21 11:51:14 +08:00
policy_controller.go refactor: engine rule response creation (#6784) 2023-04-05 10:35:38 +00:00
updaterequest.go fix: delete downstream for a generate rule removal, with data and sync (#6393) 2023-03-01 03:48:18 +00:00
utils.go fix: background scan events (#5807) 2023-01-04 13:15:30 +08:00
utils_test.go tests: add unit tests for utils functions (#3857) 2022-05-10 13:45:48 +00:00
validate.go fix: Support subresources as the trigger in generate rules (#6760) 2023-04-04 11:01:06 +00:00
validate_test.go feat: validate immutable fields for a generate rule - 2 (#6451) 2023-03-10 14:39:44 +00:00