[no ci] fix typo in variable

This commit is contained in:
miampf 2025-02-20 14:14:08 +01:00
parent 13fdf9b998
commit 071d040d45
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -43,7 +43,7 @@ runs:
ssh-keygen -t ecdsa -q -N "" -f ./access-key
constellation ssh --debug --key ./access-key.pub
internalIPs="$(kubectl get nodes -o=jsonpath='{.items[*].status.addresses}' | jq -r '.[] | select(.type == "InternalIP") | .address')"
for ip in internalIPs; do
for ip in $internalIPs; do
echo "Trying connection to $ip over $lb"
ssh -F ssh_config -o BatchMode=yes $ip true
done