apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: model-train-classic-operator-manager-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:
  - secrets
  - services
  - configmaps
  - pods
  - pods/exec
  - pods/log
  - resourcequotas
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - apps
  resources:
  - deployments
  - daemonsets
  - replicasets
  - statefulsets
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - modeltrain.ibm.com
  resources:
  - modeltrains
  - modeltrains/status
  - modeltrains/finalizers
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
