fix rosdump

This commit is contained in:
Erki Aas 2024-12-05 19:49:22 +02:00
parent 0e79aa8f4e
commit 7d71f1b29c

View File

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