
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  creationTimestamp: null
  name: dispatcher
rules:
- apiGroups:
  - cloud.pingcap.com
  resources:
  - backups
  verbs:
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - cloud.pingcap.com
  resources:
  - clusters
  verbs:
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - cloud.pingcap.com
  resources:
  - imports
  verbs:
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - cloud.pingcap.com
  resources:
  - networks
  verbs:
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - cloud.pingcap.com
  resources:
  - restores
  verbs:
  - get
  - list
  - patch
  - update
  - watch

---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  creationTimestamp: null
  name: dispatcher
  namespace: default
rules:
- apiGroups:
  - ""
  resources:
  - configmaps
  verbs:
  - get
  - list
  - watch
