mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-11 18:37:16 +00:00
* feat: migrate events to events.k8s.io group Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * fix: kuttl event tests Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * migrate background events to events.k8s.io Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * update kuttl tests Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * remove ResourceSkipped from actions Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> --------- Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> |
||
---|---|---|
.. | ||
01-policy.yaml | ||
02-resource.yaml | ||
03-event.yaml | ||
admission-event.yaml | ||
background-event.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md | ||
resource.yaml |
Description
This test creates a policy with admission
set to false
.
Then it creates a resource that violates the policy.
Expected Behavior
The resource creates fine as the policy doesn't apply at admission time. No admission ezvent is created. One background event is created.