kompose/script/test
S.Çağlar Onur e6ae470830 Allow services to use same port with different protocols
kompose fails if compose file declares different protocols for the same port. eg;

...
     ports:
      - 666:666/udp
      - 666:666/tcp
...

This PR adds the port to the output and also makes sure that names are unique for each port/protocol pair.
This is supported with LoadBalancer (kubernetes/kubernetes#2995) so trying to use this config with LB panics.
2018-01-17 11:26:03 -08:00
..
cmd Allow services to use same port with different protocols 2018-01-17 11:26:03 -08:00
fixtures Allow services to use same port with different protocols 2018-01-17 11:26:03 -08:00
README.md Functional Testing 2016-08-08 04:39:10 +00:00

Functional Test

Requirements

Install jq - commandline JSON processor with minimum version of 1.5

Running tests

Test running ./cmd/tests.sh