|
@@ -37,7 +37,7 @@ spec:
|
|
initContainers:
|
|
initContainers:
|
|
- name: init
|
|
- name: init
|
|
image: hub.evbj.easou.com/dev/busybox
|
|
image: hub.evbj.easou.com/dev/busybox
|
|
- command: ['sh', "-c", 'chmod 777 -R /data/webapps']
|
|
|
|
|
|
+ command: ['sh', "-c", 'chmod 777 -R /data/ && mkdir -p /data/webapps']
|
|
imagePullPolicy: IfNotPresent
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
volumeMounts:
|
|
- name: volume
|
|
- name: volume
|