robert 5 сар өмнө
parent
commit
7876e7002f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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