mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* 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>
25 lines
506 B
YAML
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
|