Update tests - add ImageStreams

This commit is contained in:
Tomas Kral
2016-09-27 10:28:23 +02:00
parent 6f1d01a809
commit 04ce10ffea
5 changed files with 974 additions and 428 deletions
+44 -2
View File
@@ -17,7 +17,24 @@
"strategy": {
"resources": {}
},
"triggers": null,
"triggers": [
{
"type": "ConfigChange"
},
{
"type": "ImageChange",
"imageChangeParams": {
"automatic": true,
"containerNames": [
"base"
],
"from": {
"kind": "ImageStreamTag",
"name": "base:latest"
}
}
}
],
"replicas": 1,
"test": false,
"selector": {
@@ -34,7 +51,7 @@
"containers": [
{
"name": "base",
"image": "busybox",
"image": " ",
"command": [
"echo"
],
@@ -49,6 +66,31 @@
}
},
"status": {}
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "base",
"creationTimestamp": null
},
"spec": {
"tags": [
{
"name": "latest",
"annotations": null,
"from": {
"kind": "DockerImage",
"name": "busybox"
},
"generation": null,
"importPolicy": {}
}
]
},
"status": {
"dockerImageRepository": ""
}
}
]
}