# permissions for end users to view externalsecrets.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: externalsecret-viewer-role
rules:
- apiGroups:
  - api.external-secrets-operator.app
  resources:
  - externalsecrets
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - api.external-secrets-operator.app
  resources:
  - externalsecrets/status
  verbs:
  - get
