1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 19:06:55 +00:00
kyverno/test/conformance/kuttl/generate/validation/policy/permissions
Charles-Edouard Brétéché 52971c372a
fix: generate/validation kuttl tests (#8085)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-08-22 23:29:53 +08:00
..
01-ns.yaml
02-fail-no-permission.yaml
03-clusterrole.yaml fix: generate/validation kuttl tests (#8085) 2023-08-22 23:29:53 +08:00
04-pass.yaml
policy-assert.yaml
policy.yaml
README.md

Description

This test ensures that a generate policy is denied when it does not have corresponding permissions to generate the downstream resource.

Expected Behavior

The test fails if the policy creation is allowed, otherwise passes.

Reference Issue(s)

https://github.com/kyverno/kyverno/issues/6584