diff --git a/rosdump/application.yml b/rosdump/application.yml index ec1ba80..202afe5 100644 --- a/rosdump/application.yml +++ b/rosdump/application.yml @@ -6,6 +6,10 @@ data: script.sh: | #!/bin/bash set -e + mkdir -p /root/.ssh + cp /config/ssh_identity /root/.ssh/id_ecdsa + chmod 600 /root/.ssh/id_ed25519 + sleep 100 if [ -d rosdump ]; then echo "Pulling Git repo" cd rosdump @@ -58,7 +62,7 @@ spec: image: codemowers/git imagePullPolicy: IfNotPresent args: - - bash + - sh - /config/script.sh volumeMounts: - name: config