fix(qbitmanage): run as non root

This commit is contained in:
SeanOMik 2024-01-07 18:14:55 -05:00
parent b254888c8d
commit 6a992c4ecf
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,8 @@ spec:
- /bin/sh
- -c
- "ls /tmp/config-ro
&& cp -a /tmp/config-ro/. /tmp/config/
&& chmod -R 777 /tmp/config
&& cp -r /tmp/config-ro/. /tmp/config/
&& chmod 777 /tmp/config/config.yml
&& ls /tmp/config"
volumeMounts:
- name: config-ro
@ -55,6 +55,7 @@ spec:
config:
enabled: true
type: emptyDir
defaultMode: 777
mountPath: /config
config-ro: