This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user