1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/rbac/cleanup-policy-with-clusterrole
Mariam Fahmy f35b449435
feat: add tests checking policy creation (#10816)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2024-08-08 14:18:17 +00:00
..
chainsaw-test.yaml feat: add tests checking policy creation (#10816) 2024-08-08 14:18:17 +00:00
clusterrole.yaml feat: add tests checking policy creation (#10816) 2024-08-08 14:18:17 +00:00
policy-assert.yaml feat: add tests checking policy creation (#10816) 2024-08-08 14:18:17 +00:00
policy.yaml feat: add tests checking policy creation (#10816) 2024-08-08 14:18:17 +00:00
README.md feat: add tests checking policy creation (#10816) 2024-08-08 14:18:17 +00:00

Description

This test ensures that a policy is successfully created since it is given the necessary permissions to delete a secret named test-secret.

Expected Behavior

The test passes if the policy is successfully created. Otherwise, it fails.

Reference Issue(s)

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