diff --git a/chart/templates/Deployment.yaml b/chart/templates/Deployment.yaml index 5a28df2..c22d7a5 100644 --- a/chart/templates/Deployment.yaml +++ b/chart/templates/Deployment.yaml @@ -37,7 +37,7 @@ spec: - name: "init" image: "alpine/git:latest" imagePullPolicy: Always - command: ["ash", "-c", "cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."] + command: ["ash", "-c", "mkdir /root/.ssh && cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."] env: - name: "GIT_SSH_COMMAND" value: "ssh -o StrictHostKeyChecking=no"