소스 검색

更新 'deploy.yaml'

robert 5 달 전
부모
커밋
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