Skip to content

Commit

Permalink
revert wget to use curl again (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored Jun 17, 2024
1 parent b17b03a commit 7e05df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ install_kind() {
mkdir -p "${kind_dir}"

pushd "${kind_dir}"
wget --quiet "https://github.com/kubernetes-sigs/kind/releases/download/${version}/kind-linux-${arch}"
wget --quiet "https://github.com/kubernetes-sigs/kind/releases/download/${version}/kind-linux-${arch}.sha256sum"
curl -sSLo "kind-linux-${arch}" "https://github.com/kubernetes-sigs/kind/releases/download/${version}/kind-linux-${arch}"
curl -sSLo "kind-linux-${arch}.sha256sum" "https://github.com/kubernetes-sigs/kind/releases/download/${version}/kind-linux-${arch}.sha256sum"
grep "kind-linux-${arch}" < "kind-linux-${arch}.sha256sum" | sha256sum -c
mv "kind-linux-${arch}" kind
rm -f "kind-linux-${arch}.sha256sum"
Expand Down

0 comments on commit 7e05df2

Please sign in to comment.