1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/pkg/policy
Vyom Yadav 99d988e98c
feat: add support for subresources to validating and mutating policies (#4916)
* feat: add support for subresources to validating and mutating policies

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

* Add CLI test cases with subresources for validating policies

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

* Fix existing e2e tests for validating policies and remove tests migrated to kuttl

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

* Add kuttl e2e tests for validating policies with subresources

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

* Add kuttl e2e tests for mutating policies with subresources

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

* Add kuttl e2e tests for validating policy by-pass by manipulating preconditions

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>

Signed-off-by: Vyom-Yadav <jackhammervyom@gmail.com>
2022-12-10 00:45:23 +08:00
..
common chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
generate feat: propagate context to dynamic client (#5495) 2022-11-29 13:59:40 +00:00
mutate chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
validate Extend Pod Security Admission (#4364) 2022-08-31 09:16:31 +00:00
actions.go chore: replace utils.ContainsString with builtin slices.Contains (#5496) 2022-11-29 08:04:49 +00:00
allowed_vars_test.go fix: load policy and add tests (#4515) 2022-09-06 15:16:44 +00:00
apply.go feat: propagate context through engine (#5639) 2022-12-09 21:45:11 +08:00
background.go refactor: simplify variables regex (#5075) 2022-10-21 11:51:14 +08:00
background_test.go refactor: simplify variables regex (#5075) 2022-10-21 11:51:14 +08:00
common.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
existing.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
on_update_policy_test.go refactor: simplify variables regex (#5075) 2022-10-21 11:51:14 +08:00
policy_controller.go refactor: registry client (#5596) 2022-12-07 23:08:37 +08:00
report.go [Cleanup] Disable PolicySkipped events (#4913) 2022-10-13 08:32:20 +00:00
updaterequest.go refactor: registry client (#5596) 2022-12-07 23:08:37 +08:00
utils.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
utils_test.go tests: add unit tests for utils functions (#3857) 2022-05-10 13:45:48 +00:00
validate.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
validate_test.go fix: add clone check before validating namespace policy (#5459) 2022-11-25 12:49:22 +05:30