diff --git a/clusters/cl01tl/helm/actual/Chart.lock b/clusters/cl01tl/helm/actual/Chart.lock index d2b334da6..6ad8dc626 100644 --- a/clusters/cl01tl/helm/actual/Chart.lock +++ b/clusters/cl01tl/helm/actual/Chart.lock @@ -2,5 +2,8 @@ dependencies: - name: app-template repository: https://bjw-s-labs.github.io/helm-charts/ version: 4.5.0 -digest: sha256:926b8da839684072fd79954aff0c9852c2ff3b618b0fa35177bdec8e2dff4986 -generated: "2025-12-05T17:02:01.15162583Z" +- name: volsync-target + repository: oci://harbor.alexlebens.net/helm-charts + version: 0.3.0 +digest: sha256:3763d6c5c0b45219235229aa1d72bfa426abd29aa8d92c1b1ca958b6afb3bfc8 +generated: "2025-12-15T17:43:51.908308-06:00" diff --git a/clusters/cl01tl/helm/actual/Chart.yaml b/clusters/cl01tl/helm/actual/Chart.yaml index d1f802e3c..854d64b74 100644 --- a/clusters/cl01tl/helm/actual/Chart.yaml +++ b/clusters/cl01tl/helm/actual/Chart.yaml @@ -17,5 +17,9 @@ dependencies: alias: actual repository: https://bjw-s-labs.github.io/helm-charts/ version: 4.5.0 + - name: volsync-target + alias: volsync-target-data + version: 0.3.0 + repository: oci://harbor.alexlebens.net/helm-charts icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/actual-budget.png appVersion: 25.12.0 diff --git a/clusters/cl01tl/helm/actual/templates/external-secret.yaml b/clusters/cl01tl/helm/actual/templates/external-secret.yaml deleted file mode 100644 index f22be7ac2..000000000 --- a/clusters/cl01tl/helm/actual/templates/external-secret.yaml +++ /dev/null @@ -1,55 +0,0 @@ -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: actual-data-backup-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: actual-data-backup-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - target: - template: - mergePolicy: Merge - engineVersion: v2 - data: - RESTIC_REPOSITORY: "{{ `{{ .BUCKET_ENDPOINT }}` }}/actual/actual-data" - data: - - secretKey: BUCKET_ENDPOINT - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/volsync/restic/config - metadataPolicy: None - property: S3_BUCKET_ENDPOINT - - secretKey: RESTIC_PASSWORD - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/volsync/restic/config - metadataPolicy: None - property: RESTIC_PASSWORD - - secretKey: AWS_DEFAULT_REGION - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/volsync/restic/config - 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: access_key - - secretKey: AWS_SECRET_ACCESS_KEY - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /digital-ocean/home-infra/volsync-backups - metadataPolicy: None - property: secret_key diff --git a/clusters/cl01tl/helm/actual/templates/replication-source.yaml b/clusters/cl01tl/helm/actual/templates/replication-source.yaml deleted file mode 100644 index ba1340760..000000000 --- a/clusters/cl01tl/helm/actual/templates/replication-source.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: volsync.backube/v1alpha1 -kind: ReplicationSource -metadata: - name: actual-data-backup-source - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: actual-data-backup-source - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - sourcePVC: actual-data - trigger: - schedule: 0 4 * * * - restic: - pruneIntervalDays: 7 - repository: actual-data-backup-secret - retain: - hourly: 1 - daily: 3 - weekly: 2 - monthly: 2 - yearly: 4 - copyMethod: Snapshot - storageClassName: ceph-block - volumeSnapshotClassName: ceph-blockpool-snapshot diff --git a/clusters/cl01tl/helm/actual/values.yaml b/clusters/cl01tl/helm/actual/values.yaml index 2672b17dd..4439d85e3 100644 --- a/clusters/cl01tl/helm/actual/values.yaml +++ b/clusters/cl01tl/helm/actual/values.yaml @@ -54,3 +54,5 @@ actual: main: - path: /data readOnly: false +volsync-target-data: + pvcTarget: actual-data