kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: mlplatform-backend-role
rules:
- apiGroups:
  - ""
  resources:
  - pods
  - pods/status
  - pods/log
  - resourcequotas
  - limitranges
  verbs:
  - get
  - list
  - watch

- apiGroups:
  - ""
  resources:
  - pods/exec
  verbs:
  - create
  - get

- apiGroups:
  - ""
  resources:
  - persistentvolumeclaims
  - secrets
  verbs:
  - create
  - delete
  - get
  - patch

- apiGroups:
  - argoproj.io
  resources:
  - workflows
  - workflows/finalizers
  verbs:
  - create
  - get
  - list
  - watch
  - update
  - patch
  - delete

- apiGroups:
  - serving.kubeflow.org
  resources:
  - inferenceservices
  verbs:
  - get
  - list
  - watch
  - create
  - delete
  - patch
  - update

- apiGroups:
  - kubeflow.org
  resources:
  - notebooks
  verbs:
  - get
  - list
  - watch
  - create
  - delete
  - patch
  - update
