diff --git a/clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-external.yaml b/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-external.yaml similarity index 84% rename from clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-external.yaml rename to clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-external.yaml index 0e5a86041..7d5586a1c 100644 --- a/clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-external.yaml +++ b/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-external.yaml @@ -1,12 +1,15 @@ apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: - name: immich-data-backup-secret-external + name: data-backup-secret-external namespace: immich labels: - app.kubernetes.io/name: immich-data-backup-secret-external + helm.sh/chart: volsync-target-data-0.5.0 app.kubernetes.io/instance: immich app.kubernetes.io/part-of: immich + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: data-backup-secret-external spec: secretStoreRef: kind: ClusterSecretStore @@ -16,7 +19,7 @@ spec: mergePolicy: Merge engineVersion: v2 data: - RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/immich" + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/data" data: - secretKey: BUCKET_ENDPOINT remoteRef: diff --git a/clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-local.yaml b/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-local.yaml similarity index 84% rename from clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-local.yaml rename to clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-local.yaml index 90d7337ad..4772c2cf3 100644 --- a/clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-local.yaml +++ b/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-local.yaml @@ -1,12 +1,15 @@ apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: - name: immich-data-backup-secret-local + name: data-backup-secret-local namespace: immich labels: - app.kubernetes.io/name: immich-data-backup-secret-local + helm.sh/chart: volsync-target-data-0.5.0 app.kubernetes.io/instance: immich app.kubernetes.io/part-of: immich + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: data-backup-secret-local spec: secretStoreRef: kind: ClusterSecretStore @@ -16,7 +19,7 @@ spec: mergePolicy: Merge engineVersion: v2 data: - RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/immich" + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/data" data: - secretKey: BUCKET_ENDPOINT remoteRef: diff --git a/clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-remote.yaml b/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-remote.yaml similarity index 84% rename from clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-remote.yaml rename to clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-remote.yaml index 4095e22aa..629792fb0 100644 --- a/clusters/cl01tl/manifests/immich/ExternalSecret-immich-data-backup-secret-remote.yaml +++ b/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-remote.yaml @@ -1,12 +1,15 @@ apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: - name: immich-data-backup-secret-remote + name: data-backup-secret-remote namespace: immich labels: - app.kubernetes.io/name: immich-data-backup-secret-remote + helm.sh/chart: volsync-target-data-0.5.0 app.kubernetes.io/instance: immich app.kubernetes.io/part-of: immich + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: data-backup-secret-remote spec: secretStoreRef: kind: ClusterSecretStore @@ -16,7 +19,7 @@ spec: mergePolicy: Merge engineVersion: v2 data: - RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/immich" + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/data" data: - secretKey: BUCKET_ENDPOINT remoteRef: diff --git a/clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-external.yaml b/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-external.yaml similarity index 61% rename from clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-external.yaml rename to clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-external.yaml index 90abee7ed..e24de5e70 100644 --- a/clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-external.yaml +++ b/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-external.yaml @@ -1,26 +1,29 @@ apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: - name: immich-data-backup-source-external + name: data-backup-source-external namespace: immich labels: - app.kubernetes.io/name: immich-data-backup-source-external + helm.sh/chart: volsync-target-data-0.5.0 app.kubernetes.io/instance: immich app.kubernetes.io/part-of: immich + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: data-backup spec: - sourcePVC: immich + sourcePVC: data trigger: schedule: 0 4 * * * restic: pruneIntervalDays: 7 - repository: immich-data-backup-secret-external + repository: data-backup-secret-external retain: - hourly: 1 daily: 3 - weekly: 2 + hourly: 1 monthly: 2 + weekly: 2 yearly: 4 copyMethod: Snapshot storageClassName: ceph-block volumeSnapshotClassName: ceph-blockpool-snapshot - cacheCapacity: 50Gi + cacheCapacity: 1Gi diff --git a/clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-local.yaml b/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-local.yaml similarity index 62% rename from clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-local.yaml rename to clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-local.yaml index 690864f88..0a46cbc6b 100644 --- a/clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-local.yaml +++ b/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-local.yaml @@ -1,26 +1,29 @@ apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: - name: immich-data-backup-source-local + name: data-backup-source-local namespace: immich labels: - app.kubernetes.io/name: immich-data-backup-source-local + helm.sh/chart: volsync-target-data-0.5.0 app.kubernetes.io/instance: immich app.kubernetes.io/part-of: immich + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: data-backup spec: - sourcePVC: immich + sourcePVC: data trigger: schedule: 0 2 * * * restic: pruneIntervalDays: 7 - repository: immich-data-backup-secret-local + repository: data-backup-secret-local retain: - hourly: 1 daily: 3 - weekly: 2 + hourly: 1 monthly: 2 + weekly: 2 yearly: 4 copyMethod: Snapshot storageClassName: ceph-block volumeSnapshotClassName: ceph-blockpool-snapshot - cacheCapacity: 50Gi + cacheCapacity: 1Gi diff --git a/clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-remote.yaml b/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-remote.yaml similarity index 62% rename from clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-remote.yaml rename to clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-remote.yaml index 0a6d8e54e..05788d8f1 100644 --- a/clusters/cl01tl/manifests/immich/ReplicationSource-immich-data-backup-source-remote.yaml +++ b/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-remote.yaml @@ -1,26 +1,29 @@ apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: - name: immich-data-backup-source-remote + name: data-backup-source-remote namespace: immich labels: - app.kubernetes.io/name: immich-data-backup-source-remote + helm.sh/chart: volsync-target-data-0.5.0 app.kubernetes.io/instance: immich app.kubernetes.io/part-of: immich + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: data-backup spec: - sourcePVC: immich + sourcePVC: data trigger: schedule: 0 3 * * * restic: pruneIntervalDays: 7 - repository: immich-data-backup-secret-remote + repository: data-backup-secret-remote retain: - hourly: 1 daily: 3 - weekly: 2 + hourly: 1 monthly: 2 + weekly: 2 yearly: 4 copyMethod: Snapshot storageClassName: ceph-block volumeSnapshotClassName: ceph-blockpool-snapshot - cacheCapacity: 50Gi + cacheCapacity: 1Gi