You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
When running kubectl build --helpError: no such file or directory is printed and the command exits with the status code 1.
What did you expect to happen
I expected to be able to run the command
Environment Details:
Reproducible with this Dockerfile:
FROM alpine:edge
RUN apk add curl kubectl
RUN curl -L https://github.com/vmware-tanzu/buildkit-cli-for-kubectl/releases/download/v0.1.6/linux-v0.1.6.tgz | tar -C /usr/local/bin -zxvf -
Run the following to try it out:
docker build -t buildkit-cli-test .
docker run --rm -v ~/.kube:/root/.kube:ro buildkit-cli-test sh -c 'kubectl get node && echo === && kubectl build --help'
Output:
NAME STATUS ROLES AGE VERSION
[REDACTED]-1 Ready control-plane 29d v1.27.1
[REDACTED]-2 Ready control-plane 29d v1.27.1
[REDACTED]-3 Ready control-plane 28h v1.27.1
===
Error: no such file or directory
Vote on this request
This is an invitation to the community to vote on issues. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this bug fixed as soon as possible"
👎 "There are more important bugs to focus on right now"
The text was updated successfully, but these errors were encountered:
What steps did you take and what happened
When running
kubectl build --help
Error: no such file or directory
is printed and the command exits with the status code1
.What did you expect to happen
I expected to be able to run the command
Environment Details:
Reproducible with this Dockerfile:
Run the following to try it out:
docker build -t buildkit-cli-test .
docker run --rm -v ~/.kube:/root/.kube:ro buildkit-cli-test sh -c 'kubectl get node && echo === && kubectl build --help'
Output:
Vote on this request
This is an invitation to the community to vote on issues. Use the "smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: