apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: my-custom-role
  namespace: demo
rules:
  - apiGroups:
      - policy
    resourceNames:
      - redis-db
    resources:
      - podsecuritypolicies
    verbs:
      - use
