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:
|
containers:
|
||||||
- name: backup-container
|
- name: backup-container
|
||||||
image: docker.sunet.se/drive/duplicity:bookworm-slim-1
|
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:
|
env:
|
||||||
- name: RCLONE_CONFIG_DESTINATION_ACL
|
- name: RCLONE_CONFIG_DESTINATION_ACL
|
||||||
value: private
|
value: private
|
||||||
|
@ -33,7 +34,7 @@ spec:
|
||||||
image: rclone/rclone:1.69.0
|
image: rclone/rclone:1.69.0
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
args: ["mount", "source:${BUCKET}", "/backup_storage"]
|
args: ["mount", "--allow-non-empty", "source:${BUCKET}", "/backup_storage"]
|
||||||
env:
|
env:
|
||||||
- name: RCLONE_CONFIG_SOURCE_ACL
|
- name: RCLONE_CONFIG_SOURCE_ACL
|
||||||
value: private
|
value: private
|
||||||
|
|
|
@ -3,7 +3,7 @@ kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: backup
|
name: backup
|
||||||
spec:
|
spec:
|
||||||
schedule: "35 12 * * *"
|
schedule: "45 12 * * *"
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Reference in a new issue