apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: globally-shared-secrets-clusterrole
  labels:
    rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
  - apiGroups:
      - sharedresource.openshift.io
    resources:
      - sharedsecrets
    resourceNames:
      - redhat-appstudio-user-workload
      - test-team-snyk
    verbs:
      - use
  - verbs:
      - use
    apiGroups:
      - security.openshift.io
    resources:
      - securitycontextconstraints
    resourceNames:
      - csi-scc
