Failing when port is specified with labels

Resolves #522
Kompose will give FATAL error if labels are given but ports are not defined
This commit is contained in:
Suraj Narwade
2017-06-15 09:30:01 +05:30
parent 49ada134ae
commit 209cda28d2
5 changed files with 47 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
version: "2"
services:
webapiapplication:
image: webapiapplication
labels:
kompose.service.type: NodePort