Move stuff around
This commit is contained in:
parent
3e43c4dfb8
commit
0a43f3965e
1 changed files with 3 additions and 5 deletions
|
@ -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;"]
|
||||
|
|
Loading…
Add table
Reference in a new issue