Add more options

This commit is contained in:
Micke Nordin 2025-02-07 13:41:03 +01:00
parent 0b22d32221
commit 238a4098f5
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 4 additions and 3 deletions

View file

@ -15,7 +15,8 @@ spec:
containers:
- name: backup-container
image: docker.sunet.se/drive/duplicity:bookworm-slim-1
args: ["backup", "/backup_storage", "rclone://destination:${BUCKET}"]
command: ["duplicity"]
args: ["backup", "--no-encryption", "/backup_storage", "rclone://destination:${BUCKET}"]
env:
- name: RCLONE_CONFIG_DESTINATION_ACL
value: private
@ -33,7 +34,7 @@ spec:
image: rclone/rclone:1.69.0
securityContext:
privileged: true
args: ["mount", "source:${BUCKET}", "/backup_storage"]
args: ["mount", "--allow-non-empty", "source:${BUCKET}", "/backup_storage"]
env:
- name: RCLONE_CONFIG_SOURCE_ACL
value: private

View file

@ -3,7 +3,7 @@ kind: CronJob
metadata:
name: backup
spec:
schedule: "35 12 * * *"
schedule: "45 12 * * *"
jobTemplate:
spec:
template: