1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/kuttl/events/clusterpolicy/no-events-upon-fail-generation/policy.yaml
shuting eb4b8614f0
Fix validation 7750 (#7800)
* fix

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Test: update kuttl tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2023-07-10 18:04:57 +02:00

25 lines
506 B
YAML

apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: rbac-policy
spec:
rules:
- name: rbac-rule
generate:
apiVersion: iam.aws.crossplane.io/v1beta1
data:
rules:
- verbs:
- "*"
apiGroups:
- "*"
resources:
- "*"
kind: Role
name: superuser
synchronize: true
match:
any:
- resources:
kinds:
- Namespace