1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/conformance/chainsaw/rbac/aggregate-to-admin/admin-policies.yaml
Mariam Fahmy 569b50c069
chore: run rbac testsuite using chainsaw (#8950)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2023-11-19 23:53:48 +00:00

22 lines
433 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kyverno:rbac:admin:policies
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rules:
- apiGroups:
- kyverno.io
resources:
- cleanuppolicies
- clustercleanuppolicies
- policies
- clusterpolicies
verbs:
- create
- delete
- get
- list
- patch
- update
- watch