-
Notifications
You must be signed in to change notification settings - Fork 770
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
Add support for host:port:port #393
Conversation
576e2b3
to
750ce20
Compare
1 test doesn't pass, going to fix that :) |
4a4cdd7
to
06c848d
Compare
Can this be covered by unit tests? otherwise LGTM |
@cdrage LGTM |
@procrypt Sure why not! :) |
06c848d
to
6bcc49d
Compare
Rebased ^^ |
@cdrage fix in tests and docs with all the supported ports type will help! code LGTM 👍 |
30b2532
to
89548ea
Compare
All green 🎉 |
I meant if you can add go unit tests, instead of shell test to this pr 👼 I think is is better to cover as much as we can using proper go tests |
@kadel Np, I'll update that :) |
This adds support for supplying for example: "127.0.0.1:80:80/tcp" to docker-compose.yaml and converting it to it's corresponding Kubernetes / OpenShift hostIP. This commit also refactors the loadPorts function of compose.go Closes kubernetes#335
89548ea
to
438088f
Compare
@kadel Your wish is granted! Unit tests added. |
Sweet 👍 thank you. "Coverage increased (+2.3%) to 51.987%" 🎉 🥇 |
This adds support for supplying for example:
"127.0.0.1:80:80/tcp" to docker-compose.yaml and converting it to it's
corresponding Kubernetes / OpenShift hostIP.
This commit also refactors the loadPorts function of compose.go