# permissions for end users to edit tidbclusters.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: tidbcluster-editor-role
rules:
- apiGroups:
  - devtier.pingcap-inc
  resources:
  - tidbclusters
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - devtier.pingcap-inc
  resources:
  - tidbclusters/status
  verbs:
  - get
