1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/test/conformance/kuttl/exceptions/events-creation/05-assert.yaml
Mariam Fahmy 7db8800b87
chore: move policy exceptions to beta (#8378)
* chore: move policy exceptions to beta

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix kuttl test

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix: keep v2alpha1 as the storage version

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

* fix: avoid using type aliases

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>

---------

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2023-09-14 14:23:51 +00:00

24 lines
576 B
YAML

apiVersion: v1
involvedObject:
apiVersion: kyverno.io/v2beta1
kind: PolicyException
name: policy-exception-allow-latest
namespace: policy-exception-events-creation-polex-ns
kind: Event
metadata:
namespace: policy-exception-events-creation-polex-ns
reason: PolicySkipped
reportingComponent: kyverno-admission
type: Normal
---
apiVersion: v1
involvedObject:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
name: disallow-latest-tag-events-creation
kind: Event
metadata:
namespace: default
reason: PolicySkipped
reportingComponent: kyverno-admission
type: Normal