Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating of a namespace is missed, when used build command and Kaniko builder #1384

Closed
saruman9 opened this issue Apr 1, 2021 · 1 comment
Assignees
Labels
area/building-images Issues related to building Docker images kind/enhancement Enhancement of an existing feature / improvement

Comments

@saruman9
Copy link

saruman9 commented Apr 1, 2021

What happened?

Namespace is not created when using Kaniko builder (as fallback) and DevSpace was started with the build command.

What did you expect to happen instead?

Namespace should be created as for dev command.

How can we reproduce the bug?

devspace use namespace namespace-which-didnt-exist
devspace build # without local docker

DevSpace's output:

[fatal]  build images: create builder: Error creating kaniko builder: create pull secret: create pull secret: Unable to create image pull secret: namespaces "namespace-which-didnt-exist" not found

Local Environment:

  • DevSpace Version: 5.10.0
  • Operating System: linux
  • Deployment method: helm | kubectl apply

Kubernetes Cluster:

  • Kubernetes Version:
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.5", GitCommit:"6b1d87acf3c8253c123756b9e61dac642678305f", GitTreeState:"archive", BuildDate:"2021-03-25T19:02:48Z", GoVersion:"go1.16.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:20:00Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

/kind bug

@FabianKramm
Copy link
Collaborator

@saruman9 thanks for creating this issue! Yes, currently devspace does not create a namespace in devspace build, but we can change this for the next release.

@FabianKramm FabianKramm added kind/enhancement Enhancement of an existing feature / improvement area/building-images Issues related to building Docker images labels Apr 2, 2021
@FabianKramm FabianKramm self-assigned this Apr 6, 2021
@saruman9 saruman9 closed this as completed Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/building-images Issues related to building Docker images kind/enhancement Enhancement of an existing feature / improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants