1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/kuttl/webhooks/unknown-kind
Charles-Edouard Brétéché 062bd798f0
test: add kuttl tests for policy kinds validation (#6547)
* test: add kuttl tests for policy kinds validation

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

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-13 18:24:11 +08:00
..
01-unknown-kind.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
02-unknown-kind-subresource.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
03-wrong-version.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
04-unknown-subresource.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
policy-1.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
policy-2.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
policy-3.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
policy-4.yaml test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00
README.md test: add kuttl tests for policy kinds validation (#6547) 2023-03-13 18:24:11 +08:00

Description

This test tries to create policies with different combinations of unknown kind and/or subresource. The policies should be rejected.