Skip to content

Commit

Permalink
chore(volsync): cleanup pvcs after sync
Browse files Browse the repository at this point in the history
  • Loading branch information
zebernst committed Nov 13, 2024
1 parent 1c60205 commit 0108fdc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kubernetes/templates/volsync/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ spec:
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
moverSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
runAsUser: ${APP_UID:-568}
runAsGroup: ${APP_GID:-568}
fsGroup: ${APP_GID:-568}
retain:
hourly: 24
daily: 7
Expand All @@ -65,8 +65,10 @@ spec:
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:-openebs-hostpath}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:-ReadWriteOnce}"]
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:-8Gi}"
cleanupCachePVC: true
storageClassName: "${VOLSYNC_STORAGECLASS:-iscsi}"
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteMany}"]
cleanupTempPVC: true
capacity: "${VOLSYNC_CAPACITY}"
moverSecurityContext:
runAsUser: ${APP_UID:-568}
Expand Down

0 comments on commit 0108fdc

Please sign in to comment.