mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
fix(rclone-retro): fuck shell escaping
This commit is contained in:
@@ -67,14 +67,11 @@ spec:
|
||||
containers:
|
||||
main: &rclct
|
||||
image: *img
|
||||
command: ["rclone", "rc", "--rc-addr=http://rclone-retro-app.rclone-retro.svc.cluster.local/", "--rc-user=$(RC_USER)", "--rc-pass=$(RC_PASS)"]
|
||||
args: ["sync/sync", "srcFs='3ds:/'", "dstFs='/data/3ds/'", "_filter=\"$(FILTER)\"", "_config=\"$(CONFIG)\""]
|
||||
command: ["/bin/sh", "-c", "rclone rc --rc-addr=http://rclone-retro-app.rclone-retro.svc.cluster.local/ --rc-user=$(RC_USER) --rc-pass=$(RC_PASS) $(ARG)"]
|
||||
env:
|
||||
<<: *env
|
||||
FILTER: >-
|
||||
{ "ExcludeRule": [ "/Nintendo 3DS/title/**/**/content/*.app", "**/*.cia", "**/*.fbi", "**/*.nds", "/GBA/**", "/GBA/*", "**/*.mp3", "**/*.m4a", "**/*.aac", "**/*.wav", "**/*.flac" ] }
|
||||
CONFIG: >-
|
||||
{"Progress": true}
|
||||
ARG: |
|
||||
sync/sync srcFs='3ds:/' dstFs='/data/3ds/' _config='{"Progress": true}' _filter='{ "ExcludeRule": [ "/Nintendo 3DS/title/**/**/content/*.app", "**/*.cia", "**/*.fbi", "**/*.nds", "/GBA/**", "/GBA/*", "**/*.mp3", "**/*.m4a", "**/*.aac", "**/*.wav", "**/*.flac" ] }'
|
||||
envFrom: *envFrom
|
||||
securityContext: *sc
|
||||
initContainers:
|
||||
@@ -96,11 +93,10 @@ spec:
|
||||
containers:
|
||||
main:
|
||||
<<: *rclct
|
||||
args: ["sync/sync", "srcFs='3ds:GBA/'", "dstFs='/data/3ds-gba/'", "_config=\"$(CONFIG)\""]
|
||||
env:
|
||||
<<: *env
|
||||
CONFIG: |
|
||||
{"Progress": true}
|
||||
ARG: |
|
||||
sync/sync srcFs='3ds:GBA/' dstFs='/data/3ds-gba/' _config='{"Progress": true}'
|
||||
initContainers:
|
||||
01-ping:
|
||||
<<: *ping
|
||||
@@ -114,13 +110,10 @@ spec:
|
||||
containers:
|
||||
main:
|
||||
<<: *rclct
|
||||
args: ["sync/sync", "ds:/", "/data/ds/", "_filter=\"$(FILTER)\"", "_config=\"$(CONFIG)\""]
|
||||
env:
|
||||
<<: *env
|
||||
FILTER: |
|
||||
{ "ExcludeRule": [ "**/*.nds", "**/*.mp3", "**/*.m4a", "**/*.aac", "**/*.wav", "**/*.flac" ] }
|
||||
CONFIG: |
|
||||
{"Progress": true}
|
||||
ARG: |
|
||||
sync/sync srcFs='ds:/' dstFs='/data/ds/' _config='{"Progress": true}' _filter='{ "ExcludeRule": [ "**/*.nds", "**/*.mp3", "**/*.m4a", "**/*.aac", "**/*.wav", "**/*.flac" ] }'
|
||||
initContainers:
|
||||
01-ping:
|
||||
<<: *ping
|
||||
|
||||
Reference in New Issue
Block a user