# permissions for end users to edit clusterkeycloaks.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    app.kubernetes.io/name: clusterrole
    app.kubernetes.io/instance: clusterkeycloak-editor-role
    app.kubernetes.io/component: rbac
    app.kubernetes.io/created-by: edp-keycloak-operator
    app.kubernetes.io/part-of: edp-keycloak-operator
    app.kubernetes.io/managed-by: kustomize
  name: clusterkeycloak-editor-role
rules:
- apiGroups:
  - v1.edp.epam.com
  resources:
  - clusterkeycloaks
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - v1.edp.epam.com
  resources:
  - clusterkeycloaks/status
  verbs:
  - get
