1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/rbac/mutate-policy-with-clusterrole/clusterrole.yaml
Mariam Fahmy f35b449435
feat: add tests checking policy creation (#10816)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2024-08-08 14:18:17 +00:00

21 lines
402 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: background-controller
app.kubernetes.io/instance: kyverno
app.kubernetes.io/part-of: kyverno
name: kyverno:mutate-deployments
rules:
- apiGroups:
- apps
resources:
- deployments
resourceNames:
- "monitor-grafana"
verbs:
- get
- list
- patch
- update
- watch