We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b0e39 commit c31ec39Copy full SHA for c31ec39
kind.sh
@@ -227,8 +227,12 @@ install_kubectl() {
227
228
mkdir -p "${kubectl_dir}"
229
230
- curl -sSLo "${kubectl_dir}/kubectl" "https://dl.k8s.io/release/${kubectl_version}/bin/linux/${arch}/kubectl"
231
- chmod +x "${kubectl_dir}/kubectl"
+ pushd "${kubectl_dir}"
+ curl -sSLo kubectl "https://dl.k8s.io/release/${kubectl_version}/bin/linux/${arch}/kubectl"
232
+ curl -sSLo kubectl.sha256 "https://dl.k8s.io/release/${kubectl_version}/bin/linux/${arch}/kubectl.sha256"
233
+ echo "$(cat kubectl.sha256) kubectl" | sha256sum -c
234
+ chmod +x kubectl
235
+ popd
236
}
237
238
create_config_with_registry() {
0 commit comments