forked from kubernetes/kompose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes kubernetes#431 fixed commands where output showing `command not found` and k8s output added for restart-options example.
- Loading branch information
1 parent
309d5a9
commit 7028f38
Showing
3 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
script/test/fixtures/restart-options/output-k8s-restart-onfail.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters