apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: terra-workspace-manager-service-role
rules:
- apiGroups: ['policy']
  resources: ['podsecuritypolicies']
  verbs:     ['use']
  resourceNames:
  - terra-default-psp
- apiGroups: ['']
  resources: ['secrets']
  verbs: ['get', 'create']
