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/cleanup-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

18 lines
356 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: cleanup-controller
app.kubernetes.io/instance: kyverno
app.kubernetes.io/part-of: kyverno
name: kyverno:cleanup-secrets
rules:
- apiGroups:
- ""
resources:
- secrets
resourceNames:
- test-secret
verbs:
- list
- delete