Add more options
This commit is contained in:
parent
0b22d32221
commit
238a4098f5
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: CronJob
|
|||
metadata:
|
||||
name: backup
|
||||
spec:
|
||||
schedule: "35 12 * * *"
|
||||
schedule: "45 12 * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
|
|
Loading…
Add table
Reference in a new issue