From 3b93a53521a10c6100b2d893f1b0f09d2db77f4c Mon Sep 17 00:00:00 2001 From: cloudymax Date: Fri, 20 Dec 2024 16:09:26 +0100 Subject: [PATCH] fix existing claims for s3 --- .../storage/seaweedfs/seaweedfs_argocd_appset.yaml | 11 ++++++----- .../workflows-s3-postgres-credentials.yaml | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/demo/argo-workflows/storage/seaweedfs/seaweedfs_argocd_appset.yaml b/demo/argo-workflows/storage/seaweedfs/seaweedfs_argocd_appset.yaml index 6d9508440..6c6679fa3 100644 --- a/demo/argo-workflows/storage/seaweedfs/seaweedfs_argocd_appset.yaml +++ b/demo/argo-workflows/storage/seaweedfs/seaweedfs_argocd_appset.yaml @@ -141,12 +141,10 @@ spec: loggingOverrideLevel: null fileSizeLimitMB: null minFreeSpacePercent: 7 - dataDirs: - - name: data0 - type: "persistentVolumeClaim" - storageClass: "local-path" - size: "10Gi" + - name: data + type: "existingClaim" + claimName: "swfs-volume-data" maxVolumes: 0 idx: {} @@ -205,6 +203,9 @@ spec: filerGroup: "" enablePVC: true storage: 10Gi + data: + type: "existingClaim" + claimName: "swfs-filer-data" topologySpreadConstraints: {} tolerations: "" diff --git a/demo/argo-workflows/workflows-s3-postgres-credentials.yaml b/demo/argo-workflows/workflows-s3-postgres-credentials.yaml index 72fae66d1..6b79b2d4a 100644 --- a/demo/argo-workflows/workflows-s3-postgres-credentials.yaml +++ b/demo/argo-workflows/workflows-s3-postgres-credentials.yaml @@ -7,3 +7,4 @@ metadata: stringData: accesskey: "workflows-postgres" secretkey: "postgres-key-goes-here" + resticRepoPassword: "restic-repo-password-goes-here"