1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00
kyverno/test/conformance/kuttl/webhooks/scale
Charles-Edouard Brétéché e06c20f5cc
refactor: do not allow matching with subresource kind (#6625)
* refactor: do not allow matching with subresource kind

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

* fix kuttl

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

* fix kuttl

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

* fixes

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>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-03-21 13:28:00 +00:00
..
01-policy.yaml refactor: do not allow matching with subresource kind (#6625) 2023-03-21 13:28:00 +00:00
policy.yaml feat: use kind selectors (#6514) 2023-03-10 13:24:55 +00:00
README.md refactor: do not allow matching with subresource kind (#6625) 2023-03-21 13:28:00 +00:00

Description

This test tries to create a policy targeting the Scale kind. The Scale kind doesn't map to a top level resource and therefore the policy is expected to be rejected.