docker-registry-proxy icon indicating copy to clipboard operation
docker-registry-proxy copied to clipboard

Unclosed for/quote in Kind setup script

Open Miles-Garnsey opened this issue 7 months ago • 0 comments

There's an unclosed " somewhere in the setup script for kind listed in the docs:

KIND_NAME=${k8ssandra-0}
SETUP_URL=http://docker-registry-proxy:3128/setup/systemd
pids=""
for NODE in $(kind get nodes --name "$KIND_NAME"); do
  docker exec "$NODE" sh -c "\
      curl $SETUP_URL \
      | sed s/docker\.service/containerd\.service/g \
      | sed '/Environment/ s/$/ \"NO_PROXY=127.0.0.0\/8,10.0.0.0\/8,172.16.0.0\/12,192.168.0.0\/16\"/' \
      | bash" & pids="$pids $!" # Configure every node in background
done
wait $pids

I'm still trying to figure out where it is, but when putting this straight into a shell (zsh in this case) I get:

for dquote>

I'll raise a PR if I can figure out where it is this evening.

Miles-Garnsey avatar May 07 '25 08:05 Miles-Garnsey