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