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