fix(volsync): use destinationPVC instead of dataSourceRef for better provisioner compatibility

This commit is contained in:
2026-02-26 18:50:21 +01:00
parent 00b50ec592
commit dc41e2d5ab
2 changed files with 2 additions and 6 deletions

View File

@@ -10,11 +10,6 @@ spec:
storageClassName: "${VOLSYNC_STORAGECLASS:=openebs-zfs}"
accessModes: ["${VOLSYNC_ACCESSMODES:=ReadWriteOnce}"]
dataSourceRef:
kind: ReplicationDestination
apiGroup: volsync.backube
name: "${APP}-dst"
resources:
requests:
storage: "${VOLSYNC_CAPACITY:=5Gi}"

View File

@@ -10,7 +10,7 @@ spec:
manual: restore-once
restic:
repository: "${APP}-volsync-secret"
copyMethod: Snapshot
copyMethod: "${VOLSYNC_COPYMETHOD:=Direct}"
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:=openebs-snapshots}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:=openebs-zfs}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:=ReadWriteOnce}"]
@@ -18,6 +18,7 @@ spec:
storageClassName: "${VOLSYNC_STORAGECLASS:=openebs-zfs}"
accessModes: ["${VOLSYNC_ACCESSMODES:=ReadWriteOnce}"]
capacity: "${VOLSYNC_CAPACITY:=5Gi}"
destinationPVC: "${VOLSYNC_PVC:=${APP}}"
moverSecurityContext:
runAsUser: ${VOLSYNC_PUID:=1000}
runAsGroup: ${VOLSYNC_PGID:=1000}