buildkit-cli-for-kubectl icon indicating copy to clipboard operation
buildkit-cli-for-kubectl copied to clipboard

Run within a cluster - make context optional

Open eldad87 opened this issue 2 years ago • 2 comments

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.

eldad87 avatar Jan 07 '23 21:01 eldad87

Experiencing the same issue

psimms-r7 avatar Jan 25 '23 17:01 psimms-r7

+1

jaraics avatar May 09 '23 12:05 jaraics