From d6466f0472c2873e8bfe89b328ac2691836eafa1 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Wed, 22 Nov 2023 09:46:54 +0100 Subject: [PATCH] patch correct secret location --- infrastructure/backup/overlays/backup/restic-commands.yaml | 5 +++++ infrastructure/backup/overlays/prune/restic-commands.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/infrastructure/backup/overlays/backup/restic-commands.yaml b/infrastructure/backup/overlays/backup/restic-commands.yaml index 920f054..0f3bbe1 100644 --- a/infrastructure/backup/overlays/backup/restic-commands.yaml +++ b/infrastructure/backup/overlays/backup/restic-commands.yaml @@ -23,3 +23,8 @@ spec: && restic list snapshots + env: + - name: RESTIC_PASSWORD + valueFrom: + secretKeyRef: + name: restic-gdrive-credentials-backup \ No newline at end of file diff --git a/infrastructure/backup/overlays/prune/restic-commands.yaml b/infrastructure/backup/overlays/prune/restic-commands.yaml index fc02123..8608d50 100644 --- a/infrastructure/backup/overlays/prune/restic-commands.yaml +++ b/infrastructure/backup/overlays/prune/restic-commands.yaml @@ -22,3 +22,8 @@ spec: --verbose=2 --keep-daily 7 --keep-weekly 5 --prune + env: + - name: RESTIC_PASSWORD + valueFrom: + secretKeyRef: + name: restic-gdrive-credentials-backup