Skip to content

Commit 8a60215

Browse files
authored
chore: replace kubectl download URL (#1884)
Looks like upstream disabled the cdn subdomain. This new URL is also the one that is shown in the official documentation at https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ .
1 parent dcea0be commit 8a60215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG KUBECTL_VERSION=1.34.2
44
RUN apk add --no-cache curl
55
RUN export OS=$(go env GOOS) && \
66
export ARCH=$(go env GOARCH) &&\
7-
curl -o /usr/local/bin/kubectl -L https://cdn.dl.k8s.io/release/v${KUBECTL_VERSION}/bin/${OS}/${ARCH}/kubectl &&\
7+
curl -o /usr/local/bin/kubectl -L https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/${OS}/${ARCH}/kubectl &&\
88
chmod +x /usr/local/bin/kubectl
99

1010
# build jsonnet-bundler

0 commit comments

Comments
 (0)