add stdin_open, tty support, add tests, fix #344

This adds supports for stdin_open: bool and
tty: bool support for kubernetes and openshift
providers in kompose. This maps to the
template.Spec.Containers[0].Stdin and
template.Spec.Containers[0].TTY in Kubernets
world.

Also, added tests.

Fixes #344
This commit is contained in:
Shubham Minglani
2016-12-28 15:58:45 +05:30
parent 0370d66357
commit 6a151c6267
12 changed files with 464 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
version: "2"
services:
client:
image: registry.centos.org/centos/centos:7
ports:
- "1337"
tty: true