From 8d087ce6de264bf9c358c39720da7049da791bf2 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Wed, 17 Dec 2025 04:47:15 +0000 Subject: [PATCH 1/4] chore: Update manifests after change --- ...sistant-config-backup-secret-external.yaml | 58 +++++++++++++++++++ ...-assistant-config-backup-secret-local.yaml | 58 +++++++++++++++++++ ...assistant-config-backup-secret-remote.yaml | 58 +++++++++++++++++++ ...sistant-config-backup-source-external.yaml | 29 ++++++++++ ...-assistant-config-backup-source-local.yaml | 29 ++++++++++ ...assistant-config-backup-source-remote.yaml | 29 ++++++++++ 6 files changed, 261 insertions(+) create mode 100644 clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-external.yaml create mode 100644 clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-local.yaml create mode 100644 clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-remote.yaml create mode 100644 clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-external.yaml create mode 100644 clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-local.yaml create mode 100644 clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-remote.yaml diff --git a/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-external.yaml b/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-external.yaml new file mode 100644 index 000000000..e0bc5a7b2 --- /dev/null +++ b/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-external.yaml @@ -0,0 +1,58 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: home-assistant-config-backup-secret-external + namespace: home-assistant + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: home-assistant + app.kubernetes.io/part-of: home-assistant + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: home-assistant-config-backup-secret-external +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + target: + template: + mergePolicy: Merge + engineVersion: v2 + data: + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/home-assistant/home-assistant-config" + data: + - secretKey: BUCKET_ENDPOINT + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/digital-ocean + metadataPolicy: None + property: BUCKET_ENDPOINT + - secretKey: RESTIC_PASSWORD + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/digital-ocean + metadataPolicy: None + property: RESTIC_PASSWORD + - secretKey: AWS_DEFAULT_REGION + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /digital-ocean/home-infra/volsync-backups + metadataPolicy: None + property: AWS_DEFAULT_REGION + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /digital-ocean/home-infra/volsync-backups + metadataPolicy: None + property: AWS_ACCESS_KEY_ID + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /digital-ocean/home-infra/volsync-backups + metadataPolicy: None + property: AWS_SECRET_ACCESS_KEY diff --git a/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-local.yaml b/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-local.yaml new file mode 100644 index 000000000..30ece9f20 --- /dev/null +++ b/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-local.yaml @@ -0,0 +1,58 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: home-assistant-config-backup-secret-local + namespace: home-assistant + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: home-assistant + app.kubernetes.io/part-of: home-assistant + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: home-assistant-config-backup-secret-local +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + target: + template: + mergePolicy: Merge + engineVersion: v2 + data: + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/home-assistant/home-assistant-config" + data: + - secretKey: BUCKET_ENDPOINT + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-local + metadataPolicy: None + property: BUCKET_ENDPOINT + - secretKey: RESTIC_PASSWORD + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-local + metadataPolicy: None + property: RESTIC_PASSWORD + - secretKey: AWS_DEFAULT_REGION + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_REGION + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_KEY_ID + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_SECRET_KEY diff --git a/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-remote.yaml b/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-remote.yaml new file mode 100644 index 000000000..c2d30a3a8 --- /dev/null +++ b/clusters/cl01tl/manifests/home-assistant/ExternalSecret-home-assistant-config-backup-secret-remote.yaml @@ -0,0 +1,58 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: home-assistant-config-backup-secret-remote + namespace: home-assistant + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: home-assistant + app.kubernetes.io/part-of: home-assistant + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: home-assistant-config-backup-secret-remote +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + target: + template: + mergePolicy: Merge + engineVersion: v2 + data: + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/home-assistant/home-assistant-config" + data: + - secretKey: BUCKET_ENDPOINT + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-remote + metadataPolicy: None + property: BUCKET_ENDPOINT + - secretKey: RESTIC_PASSWORD + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-remote + metadataPolicy: None + property: RESTIC_PASSWORD + - secretKey: AWS_DEFAULT_REGION + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_REGION + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_KEY_ID + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_SECRET_KEY diff --git a/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-external.yaml b/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-external.yaml new file mode 100644 index 000000000..29d33a105 --- /dev/null +++ b/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-external.yaml @@ -0,0 +1,29 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationSource +metadata: + name: home-assistant-config-backup-source-external + namespace: home-assistant + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: home-assistant + app.kubernetes.io/part-of: home-assistant + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: home-assistant-config-backup +spec: + sourcePVC: home-assistant-config + trigger: + schedule: 0 4 * * * + restic: + pruneIntervalDays: 7 + repository: home-assistant-config-backup-secret-external + retain: + daily: 3 + hourly: 1 + monthly: 2 + weekly: 2 + yearly: 4 + copyMethod: Snapshot + storageClassName: ceph-block + volumeSnapshotClassName: ceph-blockpool-snapshot + cacheCapacity: 1Gi diff --git a/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-local.yaml b/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-local.yaml new file mode 100644 index 000000000..18dbae127 --- /dev/null +++ b/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-local.yaml @@ -0,0 +1,29 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationSource +metadata: + name: home-assistant-config-backup-source-local + namespace: home-assistant + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: home-assistant + app.kubernetes.io/part-of: home-assistant + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: home-assistant-config-backup +spec: + sourcePVC: home-assistant-config + trigger: + schedule: 0 2 * * * + restic: + pruneIntervalDays: 7 + repository: home-assistant-config-backup-secret-local + retain: + daily: 3 + hourly: 1 + monthly: 2 + weekly: 2 + yearly: 4 + copyMethod: Snapshot + storageClassName: ceph-block + volumeSnapshotClassName: ceph-blockpool-snapshot + cacheCapacity: 1Gi diff --git a/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-remote.yaml b/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-remote.yaml new file mode 100644 index 000000000..504c981a4 --- /dev/null +++ b/clusters/cl01tl/manifests/home-assistant/ReplicationSource-home-assistant-config-backup-source-remote.yaml @@ -0,0 +1,29 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationSource +metadata: + name: home-assistant-config-backup-source-remote + namespace: home-assistant + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: home-assistant + app.kubernetes.io/part-of: home-assistant + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: home-assistant-config-backup +spec: + sourcePVC: home-assistant-config + trigger: + schedule: 0 3 * * * + restic: + pruneIntervalDays: 7 + repository: home-assistant-config-backup-secret-remote + retain: + daily: 3 + hourly: 1 + monthly: 2 + weekly: 2 + yearly: 4 + copyMethod: Snapshot + storageClassName: ceph-block + volumeSnapshotClassName: ceph-blockpool-snapshot + cacheCapacity: 1Gi -- 2.49.1 From 66460bbdf24d138b1062329255ae61a837922bef Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Wed, 17 Dec 2025 04:48:28 +0000 Subject: [PATCH 2/4] chore: Update manifests after change --- ...huntarr-config-backup-secret-external.yaml | 58 +++++++++++++++++++ ...et-huntarr-config-backup-secret-local.yaml | 58 +++++++++++++++++++ ...t-huntarr-config-backup-secret-remote.yaml | 58 +++++++++++++++++++ ...huntarr-config-backup-source-external.yaml | 29 ++++++++++ ...ce-huntarr-config-backup-source-local.yaml | 29 ++++++++++ ...e-huntarr-config-backup-source-remote.yaml | 29 ++++++++++ 6 files changed, 261 insertions(+) create mode 100644 clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-external.yaml create mode 100644 clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-local.yaml create mode 100644 clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-remote.yaml create mode 100644 clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-external.yaml create mode 100644 clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-local.yaml create mode 100644 clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-remote.yaml diff --git a/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-external.yaml b/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-external.yaml new file mode 100644 index 000000000..e237c812d --- /dev/null +++ b/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-external.yaml @@ -0,0 +1,58 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: huntarr-config-backup-secret-external + namespace: huntarr + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: huntarr + app.kubernetes.io/part-of: huntarr + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: huntarr-config-backup-secret-external +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + target: + template: + mergePolicy: Merge + engineVersion: v2 + data: + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/huntarr/huntarr-config" + data: + - secretKey: BUCKET_ENDPOINT + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/digital-ocean + metadataPolicy: None + property: BUCKET_ENDPOINT + - secretKey: RESTIC_PASSWORD + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/digital-ocean + metadataPolicy: None + property: RESTIC_PASSWORD + - secretKey: AWS_DEFAULT_REGION + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /digital-ocean/home-infra/volsync-backups + metadataPolicy: None + property: AWS_DEFAULT_REGION + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /digital-ocean/home-infra/volsync-backups + metadataPolicy: None + property: AWS_ACCESS_KEY_ID + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /digital-ocean/home-infra/volsync-backups + metadataPolicy: None + property: AWS_SECRET_ACCESS_KEY diff --git a/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-local.yaml b/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-local.yaml new file mode 100644 index 000000000..a8af30840 --- /dev/null +++ b/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-local.yaml @@ -0,0 +1,58 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: huntarr-config-backup-secret-local + namespace: huntarr + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: huntarr + app.kubernetes.io/part-of: huntarr + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: huntarr-config-backup-secret-local +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + target: + template: + mergePolicy: Merge + engineVersion: v2 + data: + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/huntarr/huntarr-config" + data: + - secretKey: BUCKET_ENDPOINT + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-local + metadataPolicy: None + property: BUCKET_ENDPOINT + - secretKey: RESTIC_PASSWORD + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-local + metadataPolicy: None + property: RESTIC_PASSWORD + - secretKey: AWS_DEFAULT_REGION + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_REGION + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_KEY_ID + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_SECRET_KEY diff --git a/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-remote.yaml b/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-remote.yaml new file mode 100644 index 000000000..b29201ed5 --- /dev/null +++ b/clusters/cl01tl/manifests/huntarr/ExternalSecret-huntarr-config-backup-secret-remote.yaml @@ -0,0 +1,58 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: huntarr-config-backup-secret-remote + namespace: huntarr + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: huntarr + app.kubernetes.io/part-of: huntarr + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: huntarr-config-backup-secret-remote +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + target: + template: + mergePolicy: Merge + engineVersion: v2 + data: + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/huntarr/huntarr-config" + data: + - secretKey: BUCKET_ENDPOINT + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-remote + metadataPolicy: None + property: BUCKET_ENDPOINT + - secretKey: RESTIC_PASSWORD + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /volsync/restic/garage-remote + metadataPolicy: None + property: RESTIC_PASSWORD + - secretKey: AWS_DEFAULT_REGION + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_REGION + - secretKey: AWS_ACCESS_KEY_ID + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_KEY_ID + - secretKey: AWS_SECRET_ACCESS_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /garage/home-infra/volsync-backups + metadataPolicy: None + property: ACCESS_SECRET_KEY diff --git a/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-external.yaml b/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-external.yaml new file mode 100644 index 000000000..33e6bfa59 --- /dev/null +++ b/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-external.yaml @@ -0,0 +1,29 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationSource +metadata: + name: huntarr-config-backup-source-external + namespace: huntarr + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: huntarr + app.kubernetes.io/part-of: huntarr + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: huntarr-config-backup +spec: + sourcePVC: huntarr-config + trigger: + schedule: 0 4 * * * + restic: + pruneIntervalDays: 7 + repository: huntarr-config-backup-secret-external + retain: + daily: 3 + hourly: 1 + monthly: 2 + weekly: 2 + yearly: 4 + copyMethod: Snapshot + storageClassName: ceph-block + volumeSnapshotClassName: ceph-blockpool-snapshot + cacheCapacity: 1Gi diff --git a/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-local.yaml b/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-local.yaml new file mode 100644 index 000000000..5634c3519 --- /dev/null +++ b/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-local.yaml @@ -0,0 +1,29 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationSource +metadata: + name: huntarr-config-backup-source-local + namespace: huntarr + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: huntarr + app.kubernetes.io/part-of: huntarr + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: huntarr-config-backup +spec: + sourcePVC: huntarr-config + trigger: + schedule: 0 2 * * * + restic: + pruneIntervalDays: 7 + repository: huntarr-config-backup-secret-local + retain: + daily: 3 + hourly: 1 + monthly: 2 + weekly: 2 + yearly: 4 + copyMethod: Snapshot + storageClassName: ceph-block + volumeSnapshotClassName: ceph-blockpool-snapshot + cacheCapacity: 1Gi diff --git a/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-remote.yaml b/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-remote.yaml new file mode 100644 index 000000000..cd551e091 --- /dev/null +++ b/clusters/cl01tl/manifests/huntarr/ReplicationSource-huntarr-config-backup-source-remote.yaml @@ -0,0 +1,29 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationSource +metadata: + name: huntarr-config-backup-source-remote + namespace: huntarr + labels: + helm.sh/chart: volsync-target-config-0.5.0 + app.kubernetes.io/instance: huntarr + app.kubernetes.io/part-of: huntarr + app.kubernetes.io/version: "0.5.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: huntarr-config-backup +spec: + sourcePVC: huntarr-config + trigger: + schedule: 0 3 * * * + restic: + pruneIntervalDays: 7 + repository: huntarr-config-backup-secret-remote + retain: + daily: 3 + hourly: 1 + monthly: 2 + weekly: 2 + yearly: 4 + copyMethod: Snapshot + storageClassName: ceph-block + volumeSnapshotClassName: ceph-blockpool-snapshot + cacheCapacity: 1Gi -- 2.49.1 From a5692fa4b860e7f88261780a046d0958243896a3 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Wed, 17 Dec 2025 04:51:58 +0000 Subject: [PATCH 3/4] chore: Update manifests after change --- ...rnalSecret-data-backup-secret-external.yaml} | 9 ++++++--- ...xternalSecret-data-backup-secret-local.yaml} | 9 ++++++--- ...ternalSecret-data-backup-secret-remote.yaml} | 9 ++++++--- ...tionSource-data-backup-source-external.yaml} | 17 ++++++++++------- ...icationSource-data-backup-source-local.yaml} | 17 ++++++++++------- ...cationSource-data-backup-source-remote.yaml} | 17 ++++++++++------- 6 files changed, 48 insertions(+), 30 deletions(-) rename clusters/cl01tl/manifests/immich/{ExternalSecret-immich-data-backup-secret-external.yaml => ExternalSecret-data-backup-secret-external.yaml} (84%) rename clusters/cl01tl/manifests/immich/{ExternalSecret-immich-data-backup-secret-local.yaml => ExternalSecret-data-backup-secret-local.yaml} (84%) rename clusters/cl01tl/manifests/immich/{ExternalSecret-immich-data-backup-secret-remote.yaml => ExternalSecret-data-backup-secret-remote.yaml} (84%) rename clusters/cl01tl/manifests/immich/{ReplicationSource-immich-data-backup-source-external.yaml => ReplicationSource-data-backup-source-external.yaml} (61%) rename clusters/cl01tl/manifests/immich/{ReplicationSource-immich-data-backup-source-local.yaml => ReplicationSource-data-backup-source-local.yaml} (62%) rename clusters/cl01tl/manifests/immich/{ReplicationSource-immich-data-backup-source-remote.yaml => ReplicationSource-data-backup-source-remote.yaml} (62%) 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 -- 2.49.1 From a48f9cc4cdf005ae6846d646476e48c5e4b21563 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Wed, 17 Dec 2025 04:53:45 +0000 Subject: [PATCH 4/4] chore: Update manifests after change --- ... ExternalSecret-immich-backup-secret-external.yaml} | 6 +++--- ... => ExternalSecret-immich-backup-secret-local.yaml} | 6 +++--- ...=> ExternalSecret-immich-backup-secret-remote.yaml} | 6 +++--- ...plicationSource-immich-backup-source-external.yaml} | 10 +++++----- ... ReplicationSource-immich-backup-source-local.yaml} | 10 +++++----- ...ReplicationSource-immich-backup-source-remote.yaml} | 10 +++++----- 6 files changed, 24 insertions(+), 24 deletions(-) rename clusters/cl01tl/manifests/immich/{ExternalSecret-data-backup-secret-external.yaml => ExternalSecret-immich-backup-secret-external.yaml} (90%) rename clusters/cl01tl/manifests/immich/{ExternalSecret-data-backup-secret-local.yaml => ExternalSecret-immich-backup-secret-local.yaml} (91%) rename clusters/cl01tl/manifests/immich/{ExternalSecret-data-backup-secret-remote.yaml => ExternalSecret-immich-backup-secret-remote.yaml} (90%) rename clusters/cl01tl/manifests/immich/{ReplicationSource-data-backup-source-external.yaml => ReplicationSource-immich-backup-source-external.yaml} (77%) rename clusters/cl01tl/manifests/immich/{ReplicationSource-data-backup-source-local.yaml => ReplicationSource-immich-backup-source-local.yaml} (77%) rename clusters/cl01tl/manifests/immich/{ReplicationSource-data-backup-source-remote.yaml => ReplicationSource-immich-backup-source-remote.yaml} (77%) diff --git a/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-external.yaml b/clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-external.yaml similarity index 90% rename from clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-external.yaml rename to clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-external.yaml index 7d5586a1c..e6ae21abe 100644 --- a/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-external.yaml +++ b/clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-external.yaml @@ -1,7 +1,7 @@ apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: - name: data-backup-secret-external + name: immich-backup-secret-external namespace: immich labels: helm.sh/chart: volsync-target-data-0.5.0 @@ -9,7 +9,7 @@ metadata: 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 + app.kubernetes.io/name: immich-backup-secret-external spec: secretStoreRef: kind: ClusterSecretStore @@ -19,7 +19,7 @@ spec: mergePolicy: Merge engineVersion: v2 data: - RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/data" + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/immich" data: - secretKey: BUCKET_ENDPOINT remoteRef: diff --git a/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-local.yaml b/clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-local.yaml similarity index 91% rename from clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-local.yaml rename to clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-local.yaml index 4772c2cf3..ac1f275f7 100644 --- a/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-local.yaml +++ b/clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-local.yaml @@ -1,7 +1,7 @@ apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: - name: data-backup-secret-local + name: immich-backup-secret-local namespace: immich labels: helm.sh/chart: volsync-target-data-0.5.0 @@ -9,7 +9,7 @@ metadata: 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 + app.kubernetes.io/name: immich-backup-secret-local spec: secretStoreRef: kind: ClusterSecretStore @@ -19,7 +19,7 @@ spec: mergePolicy: Merge engineVersion: v2 data: - RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/data" + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/immich" data: - secretKey: BUCKET_ENDPOINT remoteRef: diff --git a/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-remote.yaml b/clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-remote.yaml similarity index 90% rename from clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-remote.yaml rename to clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-remote.yaml index 629792fb0..dc2584529 100644 --- a/clusters/cl01tl/manifests/immich/ExternalSecret-data-backup-secret-remote.yaml +++ b/clusters/cl01tl/manifests/immich/ExternalSecret-immich-backup-secret-remote.yaml @@ -1,7 +1,7 @@ apiVersion: external-secrets.io/v1 kind: ExternalSecret metadata: - name: data-backup-secret-remote + name: immich-backup-secret-remote namespace: immich labels: helm.sh/chart: volsync-target-data-0.5.0 @@ -9,7 +9,7 @@ metadata: 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 + app.kubernetes.io/name: immich-backup-secret-remote spec: secretStoreRef: kind: ClusterSecretStore @@ -19,7 +19,7 @@ spec: mergePolicy: Merge engineVersion: v2 data: - RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/data" + RESTIC_REPOSITORY: "{{ .BUCKET_ENDPOINT }}/immich/immich" data: - secretKey: BUCKET_ENDPOINT remoteRef: diff --git a/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-external.yaml b/clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-external.yaml similarity index 77% rename from clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-external.yaml rename to clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-external.yaml index e24de5e70..0e681c2a8 100644 --- a/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-external.yaml +++ b/clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-external.yaml @@ -1,7 +1,7 @@ apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: - name: data-backup-source-external + name: immich-backup-source-external namespace: immich labels: helm.sh/chart: volsync-target-data-0.5.0 @@ -9,14 +9,14 @@ metadata: 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 + app.kubernetes.io/name: immich-backup spec: - sourcePVC: data + sourcePVC: immich trigger: schedule: 0 4 * * * restic: pruneIntervalDays: 7 - repository: data-backup-secret-external + repository: immich-backup-secret-external retain: daily: 3 hourly: 1 @@ -26,4 +26,4 @@ spec: copyMethod: Snapshot storageClassName: ceph-block volumeSnapshotClassName: ceph-blockpool-snapshot - cacheCapacity: 1Gi + cacheCapacity: 10Gi diff --git a/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-local.yaml b/clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-local.yaml similarity index 77% rename from clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-local.yaml rename to clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-local.yaml index 0a46cbc6b..7930bb38d 100644 --- a/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-local.yaml +++ b/clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-local.yaml @@ -1,7 +1,7 @@ apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: - name: data-backup-source-local + name: immich-backup-source-local namespace: immich labels: helm.sh/chart: volsync-target-data-0.5.0 @@ -9,14 +9,14 @@ metadata: 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 + app.kubernetes.io/name: immich-backup spec: - sourcePVC: data + sourcePVC: immich trigger: schedule: 0 2 * * * restic: pruneIntervalDays: 7 - repository: data-backup-secret-local + repository: immich-backup-secret-local retain: daily: 3 hourly: 1 @@ -26,4 +26,4 @@ spec: copyMethod: Snapshot storageClassName: ceph-block volumeSnapshotClassName: ceph-blockpool-snapshot - cacheCapacity: 1Gi + cacheCapacity: 10Gi diff --git a/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-remote.yaml b/clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-remote.yaml similarity index 77% rename from clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-remote.yaml rename to clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-remote.yaml index 05788d8f1..dd2aadcee 100644 --- a/clusters/cl01tl/manifests/immich/ReplicationSource-data-backup-source-remote.yaml +++ b/clusters/cl01tl/manifests/immich/ReplicationSource-immich-backup-source-remote.yaml @@ -1,7 +1,7 @@ apiVersion: volsync.backube/v1alpha1 kind: ReplicationSource metadata: - name: data-backup-source-remote + name: immich-backup-source-remote namespace: immich labels: helm.sh/chart: volsync-target-data-0.5.0 @@ -9,14 +9,14 @@ metadata: 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 + app.kubernetes.io/name: immich-backup spec: - sourcePVC: data + sourcePVC: immich trigger: schedule: 0 3 * * * restic: pruneIntervalDays: 7 - repository: data-backup-secret-remote + repository: immich-backup-secret-remote retain: daily: 3 hourly: 1 @@ -26,4 +26,4 @@ spec: copyMethod: Snapshot storageClassName: ceph-block volumeSnapshotClassName: ceph-blockpool-snapshot - cacheCapacity: 1Gi + cacheCapacity: 10Gi -- 2.49.1