root hace 2 años
padre
commit
54b6aa63c4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      deploy.yaml

+ 1 - 0
deploy.yaml

@@ -30,6 +30,7 @@ spec:
         - name: init
           image: hub.evbj.easou.com/dev/busybox
           command: ["chmod","777","-R","/data"]
+          command: ['sh', "-c", 'chmod 777 -R /data && mkdir -p /data/project &&  mkdir -p /data/log']
           imagePullPolicy: Always
           volumeMounts:
           - name: volume