1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/test/conformance/kuttl/events/policy/policy-applied
Mariam Fahmy a60dc00392
feat: migrate to events.k8s.io/v1 (#7673)
* 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>
2023-07-26 14:06:51 +00:00
..
01-policy.yaml refactor: event package (#6124) 2023-01-26 21:19:02 +00:00
02-resource.yaml refactor: event package (#6124) 2023-01-26 21:19:02 +00:00
03-event.yaml refactor: event package (#6124) 2023-01-26 21:19:02 +00:00
event-assert.yaml feat: migrate to events.k8s.io/v1 (#7673) 2023-07-26 14:06:51 +00:00
policy-assert.yaml refactor: event package (#6124) 2023-01-26 21:19:02 +00:00
policy.yaml refactor: event package (#6124) 2023-01-26 21:19:02 +00:00
README.md refactor: event package (#6124) 2023-01-26 21:19:02 +00:00
resource.yaml refactor: event package (#6124) 2023-01-26 21:19:02 +00:00

Description

This test creates a policy, and a resource. A PolicyApplied event should be created.

Steps

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