apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: model-train-classic-operator-leader-election-role
  labels:
    app.kubernetes.io/instance: ibm-modeltrain-classic-operator
    app.kubernetes.io/managed-by: ibm-modeltrain-classic-operator
    app.kubernetes.io/name: ibm-modeltrain-classic-operator
rules:
- apiGroups:
  - ""
  resources:
  - configmaps
  verbs:
  - get
  - list
  - watch
  - create
  - update
  - patch
  - delete
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - create
  - patch
