create local pvc
All checks were successful
lint-test-helm / lint-helm (push) Successful in 10s
render-manifests-push / render-manifests-push (push) Successful in 37s
renovate / renovate (push) Successful in 1m42s

This commit is contained in:
2025-12-11 22:24:06 -06:00
parent e6a09cccb4
commit c8b968576b
2 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
# apiVersion: volsync.backube/v1alpha1
# kind: ReplicationSource
# metadata:
# name: immich-data-backup-source-local
# namespace: {{ .Release.Namespace }}
# labels:
# app.kubernetes.io/name: immich-data-backup-source-local
# app.kubernetes.io/instance: {{ .Release.Name }}
# app.kubernetes.io/part-of: {{ .Release.Name }}
# spec:
# sourcePVC: immich-data
# trigger:
# schedule: 0 2 * * *
# restic:
# pruneIntervalDays: 7
# repository: immich-data-backup-secret-local
# retain:
# hourly: 1
# daily: 3
# weekly: 2
# monthly: 2
# yearly: 4
# copyMethod: Snapshot
# storageClassName: ceph-block
# volumeSnapshotClassName: ceph-blockpool-snapshot
# cacheCapacity: 10Gi
# ---
# apiVersion: volsync.backube/v1alpha1
# kind: ReplicationSource
# metadata:
# name: immich-data-backup-source-remote
# namespace: {{ .Release.Namespace }}
# labels:
# app.kubernetes.io/name: immich-data-backup-source-remote
# app.kubernetes.io/instance: {{ .Release.Name }}
# app.kubernetes.io/part-of: {{ .Release.Name }}
# spec:
# sourcePVC: immich-data
# trigger:
# schedule: 0 3 * * *
# restic:
# pruneIntervalDays: 7
# repository: immich-data-backup-secret-remote
# retain:
# hourly: 1
# daily: 3
# weekly: 2
# monthly: 2
# yearly: 4
# copyMethod: Snapshot
# storageClassName: ceph-block
# volumeSnapshotClassName: ceph-blockpool-snapshot
# cacheCapacity: 10Gi
# ---
# apiVersion: volsync.backube/v1alpha1
# kind: ReplicationSource
# metadata:
# name: immich-data-backup-source-external
# namespace: {{ .Release.Namespace }}
# labels:
# app.kubernetes.io/name: immich-data-backup-source-external
# app.kubernetes.io/instance: {{ .Release.Name }}
# app.kubernetes.io/part-of: {{ .Release.Name }}
# spec:
# sourcePVC: immich-data
# trigger:
# schedule: 0 4 * * *
# restic:
# pruneIntervalDays: 7
# repository: immich-data-backup-secret-external
# retain:
# hourly: 1
# daily: 3
# weekly: 2
# monthly: 2
# yearly: 4
# copyMethod: Snapshot
# storageClassName: ceph-block
# volumeSnapshotClassName: ceph-blockpool-snapshot
# cacheCapacity: 10Gi

View File

@@ -116,6 +116,16 @@ immich:
readOnly: true
mountPropagation: None
subPath: immich.json
data:
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 50Gi
retain: true
advancedMounts:
main:
main:
- path: /usr/src/app/upload-new
readOnly: false
media:
existingClaim: immich-nfs-storage
advancedMounts: