apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource
metadata:
  name: radarr-4k-config-backup-source-external
  namespace: radarr-4k
  labels:
    helm.sh/chart: volsync-target-config-0.7.0
    app.kubernetes.io/instance: radarr-4k
    app.kubernetes.io/part-of: radarr-4k
    app.kubernetes.io/version: "0.7.0"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: radarr-4k-config-backup
spec:
  sourcePVC: radarr-4k-config
  trigger:
    schedule: 10 12 * * *
  restic:
    pruneIntervalDays: 7
    repository: radarr-4k-config-backup-secret-external
    retain:
      daily: 7
      hourly: 0
      monthly: 3
      weekly: 4
      yearly: 1
    moverSecurityContext:
      fsGroup: 1000
      fsGroupChangePolicy: OnRootMismatch
      runAsGroup: 1000
      runAsUser: 1000
    copyMethod: Snapshot
    storageClassName: ceph-block
    volumeSnapshotClassName: ceph-blockpool-snapshot
    cacheCapacity: 1Gi
