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

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