23 lines
609 B
YAML
23 lines
609 B
YAML
---
|
|
apiVersion: volsync.backube/v1alpha1
|
|
kind: ReplicationDestination
|
|
metadata:
|
|
name: {{ ENV.JOB }}
|
|
namespace: {{ ENV.NS }}
|
|
spec:
|
|
trigger:
|
|
manual: restore-once
|
|
restic:
|
|
repository: {{ ENV.APP }}-volsync-secret
|
|
destinationPVC: {{ ENV.CLAIM }}
|
|
copyMethod: Direct
|
|
storageClassName: {{ ENV.STORAGE_CLASS_NAME }}
|
|
accessModes: {{ ENV.ACCESS_MODES }}
|
|
previous: {{ ENV.PREVIOUS }}
|
|
enableFileDeletion: true
|
|
cleanupCachePVC: true
|
|
cleanupTempPVC: true
|
|
moverSecurityContext:
|
|
runAsUser: {{ ENV.PUID }}
|
|
runAsGroup: {{ ENV.PGID }}
|
|
fsGroup: {{ ENV.PGID }}
|