1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/test/conformance/chainsaw/events/clusterpolicy/generate-events-upon-fail-generation
Charles-Edouard Brétéché d6933fff4f
chore: all chainsaw tests (#9011)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-11-24 11:17:58 +01:00
..
01-crd.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
02-policy.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
03-resource.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
04-sleep.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
05-event.yaml chore: all chainsaw tests (#9011) 2023-11-24 11:17:58 +01:00
crd-assert.yaml
crd.yaml
event.yaml
policy-assert.yaml
policy.yaml
README.md
resource.yaml

Description

This test creates a generate policy, and a resource. A PolicyError event should be created upon the failure.

Steps

    • Create a policy
    • Assert the policy becomes ready
    • Create a resource
    • Asset a PolicyError event is created

Reference Issue(s)

https://github.com/kyverno/kyverno/pull/8466 https://github.com/kyverno/kyverno/pull/1413