fix(ops/restic): Move whitby's backup to GleSYS object storage

Since GCP nuked us, the backups are now moving to GleSYS'
S3-compatible object storage.

This refactors the restic module to support S3-compatible storage
instead of GCP, and switches to the appropriate new secret paths.

The secrets were placed on whitby manually and I verified that the
backups work.

This fixes b/157

Change-Id: I6a9d2b0581967605ce736605a3befb44cdeae7e1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3883
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
Vincent Ambo 2021-11-20 19:32:11 +03:00 committed by tazjin
parent 21c218542c
commit 15cb37f877
2 changed files with 17 additions and 13 deletions

View file

@ -328,7 +328,7 @@ in {
# Run cgit & josh to serve git
git-serving.enable = true;
# Configure backups to Google Cloud Storage
# Configure backups to GleSYS
restic = {
enable = true;
paths = [