---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: psp:registry-proxy
  namespace: {{ registry_namespace }}
rules:
  - apiGroups:
    - policy
    resourceNames:
    - registry-proxy
    resources:
    - podsecuritypolicies
    verbs:
    - use