From ad0039134e7d6f25241d8cfed5739b605edf32b8 Mon Sep 17 00:00:00 2001 From: Ethan Mosbaugh Date: Thu, 6 Feb 2025 16:29:04 -0800 Subject: [PATCH] fix: bucket-hook fails with gnu wget --- k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml index 44d650898..80a7e7247 100644 --- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml +++ b/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