github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/rbac/dataprotection_backup_editor_role.yaml (about)

     1  # permissions for end users to edit backups.
     2  apiVersion: rbac.authorization.k8s.io/v1
     3  kind: ClusterRole
     4  metadata:
     5    name: {{ include "kubeblocks.fullname" . }}-backup-editor-role
     6    labels:
     7      {{- include "kubeblocks.labels" . | nindent 4 }}
     8  rules:
     9  - apiGroups:
    10    - dataprotection.kubeblocks.io
    11    resources:
    12    - backups
    13    verbs:
    14    - create
    15    - delete
    16    - get
    17    - list
    18    - patch
    19    - update
    20    - watch
    21  - apiGroups:
    22    - dataprotection.kubeblocks.io
    23    resources:
    24    - backups/status
    25    verbs:
    26    - get