fix the
CreateContainerConfigError.
This commit is contained in:
parent
6a2c17834b
commit
721cad0cc9
@ -82,6 +82,8 @@ spec:
|
|||||||
- name: config-setup
|
- name: config-setup
|
||||||
image: "busybox:1.36"
|
image: "busybox:1.36"
|
||||||
command: ['sh', '-c', 'cp -r /app/config-ro/* /app/config/ || true; chmod -R 755 /app/config; chown -R 1000:1000 /app/config']
|
command: ['sh', '-c', 'cp -r /app/config-ro/* /app/config/ || true; chmod -R 755 /app/config; chown -R 1000:1000 /app/config']
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config-ro
|
- mountPath: /app/config-ro
|
||||||
name: homepage-config
|
name: homepage-config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user