Fixed functional tests

Fixes #431

fixed commands where output showing `command not found` and k8s output
added for restart-options example.
This commit is contained in:
Suraj Narwade
2017-03-30 15:06:57 +05:30
parent 309d5a9f7f
commit df014bebd6
4 changed files with 201 additions and 150 deletions
@@ -0,0 +1,36 @@
{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "foo",
"creationTimestamp": null,
"labels": {
"io.kompose.service": "foo"
}
},
"spec": {
"containers": [
{
"name": "foo",
"image": "foobar",
"env": [
{
"name": "GITHUB",
"value": "surajssd"
}
],
"resources": {}
}
],
"restartPolicy": "OnFailure"
},
"status": {}
}
]
}
@@ -10,7 +10,7 @@
"name": "foo",
"creationTimestamp": null,
"labels": {
"service": "foo"
"io.kompose.service": "foo"
}
},
"spec": {