Skip to content

Commit

Permalink
feat(vault): switch to nfs snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzlyn committed Jan 28, 2025
1 parent ffdb7df commit 52353cc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ spec:
uninstall:
keepHistory: false
values:
# https://artifacthub.io/packages/helm/csi-driver-nfs/csi-driver-nfs?modal=values
externalSnapshotter:
enabled: false
volumeSnapshotClass:
create: true
name: nfs-csi-snapshot
deletionPolicy: Delete
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
enabled: true
size: 1Gi
mountPath: /vault/data
storageClass: ceph-block
storageClass: nfs-csi
auditStorage:
enabled: true
size: 1Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: ceph-block
storageClassName: nfs-csi
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ spec:
restic:
repository: vault-volsync
copyMethod: Snapshot
volumeSnapshotClassName: csi-ceph-blockpool
cacheStorageClassName: ceph-block
volumeSnapshotClassName: nfs-csi-snapshot
cacheStorageClassName: nfs-csi
cacheAccessModes:
- ReadWriteOnce
cacheCapacity: 1Gi
storageClassName: ceph-block
storageClassName: nfs-csi
accessModes:
- ReadWriteOnce
capacity: 1Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ spec:
copyMethod: Snapshot
pruneIntervalDays: 14
repository: vault-volsync
volumeSnapshotClassName: csi-ceph-blockpool
volumeSnapshotClassName: nfs-csi-snapshot
cacheCapacity: 1Gi
cacheStorageClassName: ceph-block
cacheStorageClassName: nfs-csi
cacheAccessModes:
- ReadWriteOnce
storageClassName: ceph-block
storageClassName: nfs-csi
accessModes:
- ReadWriteOnce
moverSecurityContext:
Expand Down

0 comments on commit 52353cc

Please sign in to comment.