fix(qbitmanage): run as non root
This commit is contained in:
parent
b254888c8d
commit
6a992c4ecf
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue