refactor: Default VolSync storage class and capacity parameters, removing explicit application overrides.

This commit is contained in:
2026-02-26 16:52:39 +01:00
parent 809df95f0e
commit 2a327d40f6
4 changed files with 5 additions and 9 deletions

View File

@@ -24,8 +24,6 @@ spec:
VOLSYNC_CAPACITY: 1Gi
VOLSYNC_PUID: "568"
VOLSYNC_PGID: "568"
VOLSYNC_STORAGECLASS: ceph-block
VOLSYNC_CACHE_SNAPSHOTCLASS: ceph-block
decryption: { provider: sops }
dependsOn:

View File

@@ -20,8 +20,6 @@ spec:
substitute:
APP: *app
VOLSYNC_CAPACITY: 50Gi
VOLSYNC_STORAGECLASS: ceph-block
VOLSYNC_CACHE_SNAPSHOTCLASS: ceph-block
prune: true
sourceRef:
kind: GitRepository

View File

@@ -12,12 +12,12 @@ spec:
repository: "${APP}-volsync-secret"
copyMethod: Snapshot
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:=openebs-snapshots}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:=openebs-hostpath}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:=ReadWriteOnce}"]
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:=5Gi}"
storageClassName: "${VOLSYNC_STORAGECLASS}"
storageClassName: "${VOLSYNC_STORAGECLASS:=openebs-hostpath}"
accessModes: ["${VOLSYNC_ACCESSMODES:=ReadWriteOnce}"]
capacity: "${VOLSYNC_CAPACITY}"
capacity: "${VOLSYNC_CAPACITY:=5Gi}"
moverSecurityContext:
runAsUser: ${VOLSYNC_PUID:=1000}
runAsGroup: ${VOLSYNC_PGID:=1000}

View File

@@ -15,9 +15,9 @@ spec:
repository: "${APP}-volsync-secret"
volumeSnapshotClassName: "${VOLSYNC_SNAPSHOTCLASS:=openebs-snapshots}"
cacheCapacity: "${VOLSYNC_CACHE_CAPACITY:=5Gi}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS}"
cacheStorageClassName: "${VOLSYNC_CACHE_SNAPSHOTCLASS:=openebs-hostpath}"
cacheAccessModes: ["${VOLSYNC_CACHE_ACCESSMODES:=ReadWriteOnce}"]
storageClassName: "${VOLSYNC_STORAGECLASS}"
storageClassName: "${VOLSYNC_STORAGECLASS:=openebs-hostpath}"
accessModes: ["${VOLSYNC_SNAP_ACCESSMODES:=ReadWriteOnce}"]
moverSecurityContext: