Add back security context
This commit is contained in:
parent
3622887a3e
commit
fa413ff7ee
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ spec:
|
|||
- name: backup-container
|
||||
image: docker.sunet.se/drive/duplicity:bookworm-slim-1
|
||||
command: ["bash"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
args: ["-c", "mkdir /backup_storage; rclone mount --daemon source:$(SOURCE_BUCKET) /backup_storage; duplicity /backup_storage rclone://destination:$(DESTINATION_BUCKET) --no-encryption --full-if-older-than 1M; umount /backup_storage"]
|
||||
env:
|
||||
- name: RCLONE_CONFIG_DESTINATION_ACL
|
||||
|
|
Loading…
Add table
Reference in a new issue