offsite backup fix packages wrong path, set max offsite size to 5Gb, reset borg repo
All checks were successful
/ continuous-deploy (push) Successful in 19s
All checks were successful
/ continuous-deploy (push) Successful in 19s
This commit is contained in:
@@ -5,6 +5,8 @@ metadata:
|
||||
namespace: git-limbosolutions-com
|
||||
labels:
|
||||
app: borg-backup-sidekick
|
||||
dbAccess: "true"
|
||||
backups.infra.limbosolutions.com/ssh: "true"
|
||||
spec:
|
||||
containers:
|
||||
- name: borg-backup-sidekick
|
||||
@@ -21,14 +23,14 @@ spec:
|
||||
- name: BORG_REPO
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: gitea-backup-secret
|
||||
key: borg_repo
|
||||
name: gitea-backup
|
||||
key: BORG_REPO
|
||||
|
||||
- name: BORG_PASSPHRASE
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: gitea-backup-secret
|
||||
key: borg_passphrase
|
||||
name: gitea-backup
|
||||
key: BORG_PASSPHRASE
|
||||
|
||||
- name: BORG_RSH
|
||||
value: ssh -p 2222 -o StrictHostKeyChecking=no -o LogLevel=ERROR
|
||||
@@ -47,12 +49,12 @@ spec:
|
||||
|
||||
- name: gitea-backup-secrets
|
||||
mountPath: /root/.ssh/id_rsa
|
||||
subPath: ssh_id_rsa
|
||||
subPath: SSH_ID_RSA
|
||||
readOnly: true
|
||||
|
||||
- name: gitea-backup-secrets
|
||||
mountPath: /app/borg/key
|
||||
subPath: borg_key
|
||||
subPath: BORG_KEY
|
||||
volumes:
|
||||
- name: gitea-backup-secrets
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user