Skip to content

Commit

Permalink
Merge pull request #399 from spiffxp/use-dl-k8s-io
Browse files Browse the repository at this point in the history
use dl.k8s.io instead of hardcoded GCS URIs
  • Loading branch information
k8s-ci-robot authored Jul 19, 2021
2 parents 3d9b269 + 93aa965 commit 549b434
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ $(GINKGO): ## Build ginkgo.
$(KUBECTL): ## Build kubectl
mkdir -p $(TOOLS_BIN_DIR)
rm -f "$(KUBECTL)*"
curl --retry $(CURL_RETRIES) -fsL https://storage.googleapis.com/kubernetes-release/release/$(KUBECTL_VER)/bin/$(GOOS)/$(GOARCH)/kubectl -o $(KUBECTL)
curl --retry $(CURL_RETRIES) -fsL https://dl.k8s.io/release/$(KUBECTL_VER)/bin/$(GOOS)/$(GOARCH)/kubectl -o $(KUBECTL)
ln -sf "$(KUBECTL)" "$(TOOLS_BIN_DIR)/$(KUBECTL_BIN)"
chmod +x "$(TOOLS_BIN_DIR)/$(KUBECTL_BIN)" "$(KUBECTL)"

Expand Down
2 changes: 1 addition & 1 deletion hack/ci/e2e-conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ init_image() {
"build_timestamp": "0",
"kubernetes_source_type": "http",
"kubernetes_cni_source_type": "http",
"kubernetes_http_source": "https://storage.googleapis.com/kubernetes-release-dev/ci",
"kubernetes_http_source": "https://dl.k8s.io/ci",
"kubernetes_series": "v${KUBERNETES_MAJOR_VERSION}.${KUBERNETES_MINOR_VERSION}",
"kubernetes_semver": "${KUBERNETES_VERSION}"
}
Expand Down
2 changes: 1 addition & 1 deletion hack/ensure-kubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ verify_kubectl_version() {
mkdir -p "${GOPATH_BIN}"
fi
echo 'kubectl not found, installing'
curl -sLo "${GOPATH_BIN}/kubectl" https://storage.googleapis.com/kubernetes-release/release/${MINIMUM_KUBECTL_VERSION}/bin/linux/amd64/kubectl
curl -sLo "${GOPATH_BIN}/kubectl" https://dl.k8s.io/release/${MINIMUM_KUBECTL_VERSION}/bin/linux/amd64/kubectl
chmod +x "${GOPATH_BIN}/kubectl"
else
echo "Missing required binary in path: kubectl"
Expand Down

0 comments on commit 549b434

Please sign in to comment.