vmware-archive / buildkit-cli-for-kubectl

BuildKit CLI for kubectl is a tool for building container images with your Kubernetes cluster
Other
499 stars 41 forks source link

Run within a cluster - make context optional #137

Open eldad87 opened 1 year ago

eldad87 commented 1 year ago

Describe the problem/challenge you have Running kubectl build within a K8s require a context

$ kubectl build -t hello-world -f Dockerfile .
Error: no context is currently set, use "kubectl config use-context <context>" to select a new one

Description of the solution you'd like I would like to run kubectl build within a Pod that was set with the relevant permission using ServiceAccount.

psimms-r7 commented 1 year ago

Experiencing the same issue

jaraics commented 1 year ago

+1