apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: longhorn-data-restore
  namespace: longhorn-system
  annotations:
    kustomize.toolkit.fluxcd.io/prune: disabled
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: longhorn-data-restore-role
  # namespace: longhorn-system
subjects:
  - kind: ServiceAccount
    name: longhorn-data-restore
    namespace: longhorn-system