Skip to content

Commit

Permalink
Fix envtest build for v1.32.0
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer [email protected]
  • Loading branch information
sbueringer committed Dec 23, 2024
1 parent 96992f8 commit 26fda14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/envtest/darwin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN make WHAT=cmd/kube-apiserver && \

# kubectl
RUN /bin/bash -x -c ' \
{ curl -sfLO https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kubectl && \
{ curl -sfLO https://dl.k8s.io/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kubectl && \
chmod +x kubectl && \
cp kubectl $DEST; } || \
{ make WHAT=cmd/kubectl && \
Expand Down
2 changes: 1 addition & 1 deletion hack/envtest/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN curl -sfLO https://dl.k8s.io/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kube-ap
cp kube-apiserver $DEST

# kubectl
RUN curl -sfLO https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kubectl && \
RUN curl -sfLO https://dl.k8s.io/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kubectl && \
chmod +x kubectl && \
cp kubectl $DEST

Expand Down
2 changes: 1 addition & 1 deletion hack/envtest/windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN make WHAT=cmd/kube-apiserver && \

# kubectl
RUN /bin/bash -x -c ' \
{ curl -sfLO https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kubectl.exe && \
{ curl -sfLO https://dl.k8s.io/${KUBERNETES_VERSION}/bin/${OS}/${ARCH}/kubectl.exe && \
chmod +x kubectl.exe && \
cp kubectl.exe $DEST; } || \
{ make WHAT=cmd/kubectl && \
Expand Down

0 comments on commit 26fda14

Please sign in to comment.