1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/pkg/engine
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
..
anchor add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
common add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
context issue-4613: Add support for cache enhancements with informers (#5484) 2022-12-02 13:59:51 +00:00
jmespath refactor: jmespath arithmetic operations (#5544) 2022-12-05 11:15:32 +00:00
jsonutils chore: use builtin slices.Clone (#5510) 2022-11-30 10:38:03 +00:00
mutate feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
operator chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
resources Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
response feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
utils fix: add parsing of json pointers to support special chars (#3578 #3616) (#4767) 2022-11-10 16:03:45 +00:00
validate fix: make reponse order predictable (#5079) 2022-10-20 17:06:46 +05:30
variables feat: add conditions matching to cleanup controller (#5626) 2022-12-09 10:24:04 +00:00
wildcards chore: add unit tests for pkg/utils/wildcard (#4510) 2022-09-06 08:02:41 +00:00
attestation_test.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
background.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
common.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
common_test.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
forceMutate.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
forceMutate_test.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
generation.go refactor: registry client (#5596) 2022-12-07 23:08:37 +08:00
imageVerify.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
imageVerify_test.go feat: propagate context through engine (#5639) 2022-12-09 21:45:11 +08:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
jsonContext.go feat: propagate context through engine (#5639) 2022-12-09 21:45:11 +08:00
k8smanifest.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
k8smanifest_test.go refactor: make policy context immutable and fields private (#5523) 2022-12-02 16:14:23 +08:00
loadtargets.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
mutation_test.go feat: propagate context through engine (#5639) 2022-12-09 21:45:11 +08:00
policyContext.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
utils.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
utils_test.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
validation.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
validation_test.go feat: propagate context through engine (#5639) 2022-12-09 21:45:11 +08:00