From 49d9a1462ed67e96b27244769b7746a451622d50 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Sat, 27 Dec 2025 20:51:23 +0000 Subject: [PATCH] chore: Update manifests after change --- .../manifests/garage/Deployment-garage-main.yaml | 4 ++-- .../garage/Deployment-garage-webui.yaml | 5 +++++ .../garage/ReplicationDestination-garage-db.yaml | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 clusters/cl01tl/manifests/garage/ReplicationDestination-garage-db.yaml diff --git a/clusters/cl01tl/manifests/garage/Deployment-garage-main.yaml b/clusters/cl01tl/manifests/garage/Deployment-garage-main.yaml index 29743a868..0b0c99594 100644 --- a/clusters/cl01tl/manifests/garage/Deployment-garage-main.yaml +++ b/clusters/cl01tl/manifests/garage/Deployment-garage-main.yaml @@ -54,7 +54,7 @@ spec: subPath: garage.toml - mountPath: /var/lib/garage/data name: data - - mountPath: /var/lib/garage/meta + - mountPath: /db name: db - mountPath: /var/lib/garage/snapshots name: snapshots @@ -76,7 +76,7 @@ spec: subPath: garage.toml - mountPath: /var/lib/garage/data name: data - - mountPath: /var/lib/garage/meta + - mountPath: /db name: db - mountPath: /var/lib/garage/snapshots name: snapshots diff --git a/clusters/cl01tl/manifests/garage/Deployment-garage-webui.yaml b/clusters/cl01tl/manifests/garage/Deployment-garage-webui.yaml index 27e32ac29..f43da4fea 100644 --- a/clusters/cl01tl/manifests/garage/Deployment-garage-webui.yaml +++ b/clusters/cl01tl/manifests/garage/Deployment-garage-webui.yaml @@ -59,7 +59,12 @@ spec: name: config readOnly: true subPath: garage.toml + - mountPath: /db + name: db volumes: - configMap: name: garage name: config + - name: db + persistentVolumeClaim: + claimName: garage-db diff --git a/clusters/cl01tl/manifests/garage/ReplicationDestination-garage-db.yaml b/clusters/cl01tl/manifests/garage/ReplicationDestination-garage-db.yaml new file mode 100644 index 000000000..00e023f0e --- /dev/null +++ b/clusters/cl01tl/manifests/garage/ReplicationDestination-garage-db.yaml @@ -0,0 +1,16 @@ +apiVersion: volsync.backube/v1alpha1 +kind: ReplicationDestination +metadata: + name: garage-db + namespace: garage + labels: + app.kubernetes.io/name: garage-db + app.kubernetes.io/instance: garage + app.kubernetes.io/part-of: garage +spec: + trigger: + manual: restore-once + restic: + repository: garage-db-backup-secret-external + destinationPVC: garage-db + copyMethod: Direct