refactor: Default VolSync storage class and capacity parameters, removing explicit application overrides.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user