1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/conformance/kuttl/exceptions/events-creation/05-assert.yaml

27 lines
579 B
YAML
Raw Normal View History

apiVersion: v1
involvedObject:
apiVersion: kyverno.io/v2alpha1
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
source:
component: 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
source:
component: kyverno-admission
type: Normal