kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: {{ include "backupRestore.fullname" . }}
  labels:
    {{- include "backupRestore.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
  name: {{ include "backupRestore.serviceAccountName" . }}
  namespace: {{ .Release.Namespace }}
roleRef:
  kind: ClusterRole
  name: cluster-admin
  apiGroup: rbac.authorization.k8s.io
