diff --git a/Tiltfile b/Tiltfile index e81e9ce19a5c..b3181c6791d3 100644 --- a/Tiltfile +++ b/Tiltfile @@ -93,11 +93,11 @@ providers = { "internal", "third_party", ], - "additional_docker_helper_commands": "RUN wget -qO- https://dl.k8s.io/v1.21.2/kubernetes-client-linux-{arch}.tar.gz | tar xvz".format( - arch = os_arch, + "additional_docker_helper_commands": "RUN curl -LO https://dl.k8s.io/release/v1.23.3/bin/linux/{ARCH}/kubectl && chmod +x ./kubectl && mv ./kubectl /usr/bin/kubectl".format( + ARCH = os_arch, ), "additional_docker_build_commands": """ -COPY --from=tilt-helper /go/kubernetes/client/bin/kubectl /usr/bin/kubectl +COPY --from=tilt-helper /usr/bin/kubectl /usr/bin/kubectl """, "label": "CAPD", },