fix(rclone-retro): exclude rules

This commit is contained in:
JJGadgets
2025-07-05 20:20:45 +08:00
parent aad1848fd1
commit 82bd3e71bd

View File

@@ -70,13 +70,13 @@ spec:
containers:
main: &rclct
image: *img
command: ["/bin/sh", "-c", "until rclone rc $(ARG); do ping $(PING); done"]
command: ["/bin/sh", "-c", "rclone rc $(ARG)"]
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", "**/*.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: