diff --git a/clusters/cl01tl/helm/garage/Chart.yaml b/clusters/cl01tl/helm/garage/Chart.yaml index 042e5cdac..ec84f8af3 100644 --- a/clusters/cl01tl/helm/garage/Chart.yaml +++ b/clusters/cl01tl/helm/garage/Chart.yaml @@ -18,10 +18,10 @@ dependencies: alias: garage repository: https://bjw-s-labs.github.io/helm-charts/ version: 4.5.0 - - name: volsync-target - alias: volsync-target-db - version: 0.7.0 - repository: oci://harbor.alexlebens.net/helm-charts + # - name: volsync-target + # alias: volsync-target-db + # version: 0.7.0 + # repository: oci://harbor.alexlebens.net/helm-charts icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/kubernetes.png # renovate: github=deuxfleurs-org/garage appVersion: v2.1.0 diff --git a/clusters/cl01tl/helm/garage/templates/persistent-volume-claim.yaml b/clusters/cl01tl/helm/garage/templates/persistent-volume-claim.yaml index 198d8add2..8cdfd078a 100644 --- a/clusters/cl01tl/helm/garage/templates/persistent-volume-claim.yaml +++ b/clusters/cl01tl/helm/garage/templates/persistent-volume-claim.yaml @@ -1,12 +1,12 @@ -# apiVersion: v1 -# kind: PersistentVolumeClaim -# metadata: -# name: garage-db -# namespace: garage -# spec: -# accessModes: -# - ReadWriteOnce -# resources: -# requests: -# storage: 50Gi -# storageClassName: ceph-block +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: garage-db + namespace: garage +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi + storageClassName: ceph-block diff --git a/clusters/cl01tl/helm/garage/templates/replication-destination.yaml b/clusters/cl01tl/helm/garage/templates/replication-destination.yaml index c74101f6b..c769a269f 100644 --- a/clusters/cl01tl/helm/garage/templates/replication-destination.yaml +++ b/clusters/cl01tl/helm/garage/templates/replication-destination.yaml @@ -1,16 +1,16 @@ -# apiVersion: volsync.backube/v1alpha1 -# kind: ReplicationDestination -# metadata: -# name: garage-db -# namespace: {{ .Release.Namespace }} -# labels: -# app.kubernetes.io/name: garage-db -# app.kubernetes.io/instance: {{ .Release.Name }} -# app.kubernetes.io/part-of: {{ .Release.Name }} -# spec: -# trigger: -# manual: restore-once -# restic: -# repository: garage-db-backup-secret-external -# destinationPVC: garage-db -# copyMethod: Direct +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationDestination +metadata: + name: garage-db + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: garage-db + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + trigger: + manual: restore-once + restic: + repository: garage-db-backup-secret-remote + destinationPVC: garage-db + copyMethod: Direct diff --git a/clusters/cl01tl/helm/garage/values.yaml b/clusters/cl01tl/helm/garage/values.yaml index 5331905fe..52509bf8f 100644 --- a/clusters/cl01tl/helm/garage/values.yaml +++ b/clusters/cl01tl/helm/garage/values.yaml @@ -195,20 +195,20 @@ garage: readOnly: true mountPropagation: None subPath: garage.toml - db: - forceRename: garage-db - storageClass: ceph-block - accessMode: ReadWriteOnce - size: 50Gi - retain: true - advancedMounts: - main: - # main: - # - path: /var/lib/garage/meta - # readOnly: false - debug: - - path: /var/lib/garage/meta - readOnly: false + # db: + # forceRename: garage-db + # storageClass: ceph-block + # accessMode: ReadWriteOnce + # size: 50Gi + # retain: true + # advancedMounts: + # main: + # main: + # - path: /var/lib/garage/meta + # readOnly: false + # debug: + # - path: /var/lib/garage/meta + # readOnly: false data: storageClass: synology-iscsi-delete accessMode: ReadWriteOnce