Merge pull request #590 from surajnarwade/label-fix
Failing when port is specified with labels
This commit is contained in:
@@ -204,6 +204,10 @@ convert::expect_success_and_warning "kompose --provider openshift -f $KOMPOSE_RO
|
||||
# Test regarding validating dockerfilepath
|
||||
convert::expect_failure "kompose -f $KOMPOSE_ROOT/script/test/fixtures/dockerfilepath/docker-compose.yml convert --stdout"
|
||||
|
||||
# Test regarding while label (nodeport or loadbalancer ) is provided but not ports
|
||||
convert::expect_failure "kompose -f $KOMPOSE_ROOT/script/test/fixtures/label-port/docker-compose.yml convert --stdout"
|
||||
|
||||
|
||||
######
|
||||
# Test the output file behavior of kompose convert
|
||||
# Default behavior without -o
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
version: "2"
|
||||
services:
|
||||
webapiapplication:
|
||||
image: webapiapplication
|
||||
labels:
|
||||
kompose.service.type: NodePort
|
||||
Reference in New Issue
Block a user