fix(rclone-retro): exclude rules

This commit is contained in:
JJGadgets
2025-07-05 19:53:05 +08:00
parent 66636a70ff
commit ca5f19f9b7

View File

@@ -70,13 +70,13 @@ spec:
containers:
main: &rclct
image: *img
command: ["/bin/sh", "-c", "rclone rc $(ARG)"]
command: ["/bin/sh", "-c", "until rclone rc $(ARG); do ping $(PING); done"]
env: &envcr
<<: *env
RCLONE_URL: http://rclone-retro-app.rclone-retro.svc.cluster.local/
RCLONE_TIMEOUT: 1h
ARG: | # TODO: so much jank over k8s doing auto shell escaping on args and me wanting to not repeat the command line
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" ] }'
sync/sync srcFs='3ds:/' dstFs='/data/3ds/' _config='{"Progress": true}' _filter='{ "ExcludeRule": [ "**/*", "**/**", "Nintendo 3DS/title/**/**/content/*.app", "**/*.cia", "**/*.fbi", "**/*.nds", "**/*.mp3", "**/*.m4a", "**/*.aac", "**/*.wav", "**/*.flac" ] }'
envFrom: *envFrom
securityContext: *sc
initContainers: