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

Kompose should show an error when image is not given #573

Closed
wants to merge 1 commit into from

Conversation

procrypt
Copy link

kompose passes a kubernetes deployment without image, we should give an error about it.
Fixes: #571

cc: @surajssd @cdrage

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 26, 2017
@surajssd
Copy link
Member

@procrypt fix the tests that are failing, you might need to change the test to expect failure.

@procrypt procrypt force-pushed the error_build_kubernetes branch 2 times, most recently from 93b4b8f to e47267a Compare April 26, 2017 14:49
we should give an error about it when we run kompose convert.
@procrypt procrypt force-pushed the error_build_kubernetes branch from e47267a to f21e8f9 Compare April 26, 2017 14:53
@cdrage
Copy link
Member

cdrage commented May 4, 2017

Errr this shouldn't error..

If we pass in build but no image, the assumption is that the service name takes up the image name. See my PR at how I get around this at #521

It's by default in Docker Compose too :) You don't have to pass in image:.

@cdrage cdrage closed this May 4, 2017
@cdrage cdrage reopened this May 4, 2017
@surajssd
Copy link
Member

surajssd commented May 5, 2017

@cdrage about using the auto-generated name it's okay when user is doing the builds, but here we are not doing builds with k8s as of now, so not doing magic is what I would expect.

@cdrage
Copy link
Member

cdrage commented May 23, 2017

I'd suggest we close this until #521 is merged as this will add build support for Kubernetes.

@cdrage cdrage closed this May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants