Skip to content

fix: add curl retry flags to download calls - #165

Merged
cpanato merged 1 commit into
helm:mainfrom
kaovilai:fix/curl-retry-transient-failures
Jul 17, 2026
Merged

fix: add curl retry flags to download calls#165
cpanato merged 1 commit into
helm:mainfrom
kaovilai:fix/curl-retry-transient-failures

Conversation

@kaovilai

Copy link
Copy Markdown
Contributor

Summary

  • Add --retry 5 --retry-all-errors --retry-delay 5 to all curl calls in kind.sh (install_kind, install_kubectl, install_cloud_provider)
  • Transient network errors (connection reset, DNS hiccups) currently abort the whole job immediately since the script runs under set -o errexit with no retry

Fixes #164

Test plan

  • bash -n kind.sh passes
  • CI green on this PR

Note

Responses generated with Claude

Transient network errors (connection reset, DNS hiccups) during
kind/kubectl/cloud-provider-kind downloads abort the whole job with
no retry, since kind.sh runs under set -o errexit.

Fixes helm#164

Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
@cpanato
cpanato merged commit 7a97ed7 into helm:main Jul 17, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transient curl failures during kind/kubectl download abort the whole job (no retry)

2 participants