1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/kuttl/exceptions/events-creation/05-assert.yaml
shuting efe09b286e
fix source in events (#6739)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-03-31 07:34:31 +02:00

26 lines
579 B
YAML

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