Răsfoiți Sursa

更新 'deploy.yaml'

robert 5 luni în urmă
părinte
comite
7876e7002f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      deploy.yaml

+ 1 - 1
deploy.yaml

@@ -37,7 +37,7 @@ spec:
       initContainers:
         - name: init
           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
           volumeMounts:
           - name: volume