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