Move stuff around

This commit is contained in:
Micke Nordin 2025-02-07 15:50:53 +01:00
parent 3e43c4dfb8
commit 0a43f3965e
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -35,15 +35,11 @@ spec:
mountPropagation: HostToContainer
- name: ipc-storage
mountPath: /backup_ipc
mountPropagation: Bidirectional
- name: mount-container
image: rclone/rclone:1.69.0
args: ["mount", "--allow-non-empty", "source:$(BUCKET)", "/backup_storage"]
securityContext:
privileged: true
livenessProbe:
exec:
command: ["bash", "-c", "if test -f /backup_ipc/stop; then umount /backup_storage; exit 1; fi;"]
env:
- name: RCLONE_CONFIG_SOURCE_ACL
value: private
@ -59,4 +55,6 @@ spec:
mountPropagation: Bidirectional
- name: ipc-storage
mountPath: /backup_ipc
mountPropagation: HostToContainer
livenessProbe:
exec:
command: ["bash", "-c", "if test -f /backup_ipc/stop; then umount /backup_storage; exit 1; fi;"]