Browse Source

fix: bucket-hook fails with gnu wget

pull/6520/head
Ethan Mosbaugh 4 weeks ago
parent
commit
ad0039134e
  1. 2
      k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

2
k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

@ -60,7 +60,7 @@ spec:
echo "Waiting for service at $url..."
while [ $attempt -le $max_attempts ]; do
if wget -q --spider "$url" >/dev/null 2>&1; then
if wget -q -O - "$url" >/dev/null 2>&1; then
echo "Service at $url is up!"
return 0
fi

Loading…
Cancel
Save