Browse Source

更新 'deploy.yaml'

robert 5 tháng trước cách đây
mục cha
commit
7876e7002f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      deploy.yaml

+ 1 - 1
deploy.yaml

@@ -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