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