Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Run within a cluster - make context optional #137

Open
eldad87 opened this issue Jan 7, 2023 · 2 comments
Open

Run within a cluster - make context optional #137

eldad87 opened this issue Jan 7, 2023 · 2 comments

Comments

@eldad87
Copy link

eldad87 commented Jan 7, 2023

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
Copy link

Experiencing the same issue

@jaraics
Copy link

jaraics commented May 9, 2023

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants