瀏覽代碼

[CI SKIP]

robert 5 月之前
父節點
當前提交
0cf3d01b5c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      deploy.yaml

+ 2 - 2
deploy.yaml

@@ -37,14 +37,14 @@ spec:
       initContainers:
         - name: init
           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
           volumeMounts:
           - name: volume
             mountPath: /data
         - name: init-package
           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
           volumeMounts:
           - name: volume