Skip to content

Commit

Permalink
fix: disable volsync temp pvc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zebernst committed Dec 2, 2024
1 parent 7114dbe commit 0fa5742
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions kubernetes/templates/volsync/b2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ spec:
storageClassName: "${VOLSYNC_STORAGECLASS:-iscsi}"
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-iscsi}"
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteMany}"]
cleanupTempPVC: true
pruneIntervalDays: 7
repository: "${APP}-volsync-b2-secret"
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
cleanupCachePVC: true
moverSecurityContext:
runAsUser: ${APP_UID:-568}
runAsGroup: ${APP_GID:-568}
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/templates/volsync/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ spec:
storageClassName: "${VOLSYNC_STORAGECLASS:-iscsi}"
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:-iscsi}"
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteMany}"]
cleanupTempPVC: true
pruneIntervalDays: 7
repository: "${APP}-volsync-secret"
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-4Gi}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
cleanupCachePVC: true
moverSecurityContext:
runAsUser: ${APP_UID:-568}
runAsGroup: ${APP_GID:-568}
Expand Down Expand Up @@ -70,7 +68,7 @@ spec:
cleanupCachePVC: true
storageClassName: "${VOLSYNC_STORAGECLASS:-iscsi}"
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteMany}"]
cleanupTempPVC: true
cleanupTempPVC: false # needs to be false, or else the VolumeSnapContent gets deleted with the PVC.
capacity: "${VOLSYNC_CAPACITY}"
moverSecurityContext:
runAsUser: ${APP_UID:-568}
Expand Down

0 comments on commit 0fa5742

Please sign in to comment.