diff --git a/clusters/cl01tl/platform/qbittorrent/values.yaml b/clusters/cl01tl/platform/qbittorrent/values.yaml index 6d893685e..22e140d8b 100644 --- a/clusters/cl01tl/platform/qbittorrent/values.yaml +++ b/clusters/cl01tl/platform/qbittorrent/values.yaml @@ -24,6 +24,20 @@ qbittorrent: - | sysctl -w net.ipv4.ip_forward=1; sysctl -w net.ipv6.conf.all.disable_ipv6=1 + init-copy-config: + image: + repository: busybox + tag: 1.37.0 + pullPolicy: IfNotPresent + resources: + requests: + cpu: 10m + memory: 128Mi + command: + - /bin/sh + - -ec + - | + cp /config/config.yml /app/config/config.yml containers: qbittorrent: image: @@ -189,6 +203,9 @@ qbittorrent: retain: true advancedMounts: main: + init-copy-config: + - path: /app/config + readOnly: false qbit-manage: - path: /app/config readOnly: false @@ -198,8 +215,13 @@ qbittorrent: name: qbit-manage-config advancedMounts: main: + init-copy-config: + - path: /config/config.yml + readOnly: true + mountPropagation: None + subPath: config.yml qbit-manage: - - path: /app/config/config.yml + - path: /config/config.yml readOnly: true mountPropagation: None subPath: config.yml