|
@@ -37,14 +37,14 @@ 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 /opt/tomcat-7.0.105/webapps']
|
|
|
|
|
|
+ command: ['sh', "-c", 'chmod 777 -R /data/webapps']
|
|
imagePullPolicy: IfNotPresent
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
volumeMounts:
|
|
- name: volume
|
|
- name: volume
|
|
mountPath: /data
|
|
mountPath: /data
|
|
- name: init-package
|
|
- name: init-package
|
|
image: hub.evbj.easou.com/dev/busybox
|
|
image: hub.evbj.easou.com/dev/busybox
|
|
- command: ['sh', '-c', 'rm -rf /opt/tomcat-7.0.105/webapps/* && wget http://10.40.20.61/release/search-wapage/prod-64/easou-bi/1.0.13/easou-bi_1.0.13_dataMigration_T1.0.12-5783_1.0.13_20241107-105647_RBL/ROOT.war -O /opt/tomcat-7.0.105/webapps/ROOT.war && md5sum /opt/tomcat-7.0.105/webapps/ROOT.war']
|
|
|
|
|
|
+ command: ['sh', '-c', 'rm -rf /data/webapps/* && wget http://10.40.20.61/release/search-wapage/prod-64/easou-bi/1.0.13/easou-bi_1.0.13_dataMigration_T1.0.12-5783_1.0.13_20241107-105647_RBL/ROOT.war -O /data/webapps/ROOT.war && md5sum /data/webapps/ROOT.war']
|
|
imagePullPolicy: IfNotPresent
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
volumeMounts:
|
|
- name: volume
|
|
- name: volume
|