forked from LaconicNetwork/kompose
206 lines
4.4 KiB
JSON
206 lines
4.4 KiB
JSON
{
|
|
"kind": "List",
|
|
"apiVersion": "v1",
|
|
"metadata": {},
|
|
"items": [
|
|
{
|
|
"kind": "DeploymentConfig",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "bar",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "bar"
|
|
}
|
|
},
|
|
"spec": {
|
|
"strategy": {
|
|
"resources": {}
|
|
},
|
|
"triggers": [
|
|
{
|
|
"type": "ConfigChange"
|
|
},
|
|
{
|
|
"type": "ImageChange",
|
|
"imageChangeParams": {
|
|
"automatic": true,
|
|
"containerNames": [
|
|
"bar"
|
|
],
|
|
"from": {
|
|
"kind": "ImageStreamTag",
|
|
"name": "bar:latest"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"replicas": 99,
|
|
"test": false,
|
|
"selector": {
|
|
"io.kompose.service": "bar"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "bar"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "bar",
|
|
"image": " ",
|
|
"resources": {}
|
|
}
|
|
],
|
|
"restartPolicy": "Always"
|
|
}
|
|
}
|
|
},
|
|
"status": {
|
|
"latestVersion": 0,
|
|
"observedGeneration": 0,
|
|
"replicas": 0,
|
|
"updatedReplicas": 0,
|
|
"availableReplicas": 0,
|
|
"unavailableReplicas": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "ImageStream",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "bar",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "bar"
|
|
}
|
|
},
|
|
"spec": {
|
|
"lookupPolicy": {
|
|
"local": false
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "",
|
|
"annotations": null,
|
|
"from": {
|
|
"kind": "DockerImage",
|
|
"name": "bar"
|
|
},
|
|
"generation": null,
|
|
"importPolicy": {},
|
|
"referencePolicy": {
|
|
"type": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"dockerImageRepository": ""
|
|
}
|
|
},
|
|
{
|
|
"kind": "DeploymentConfig",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "foo",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "foo"
|
|
}
|
|
},
|
|
"spec": {
|
|
"strategy": {
|
|
"resources": {}
|
|
},
|
|
"triggers": [
|
|
{
|
|
"type": "ConfigChange"
|
|
},
|
|
{
|
|
"type": "ImageChange",
|
|
"imageChangeParams": {
|
|
"automatic": true,
|
|
"containerNames": [
|
|
"foo"
|
|
],
|
|
"from": {
|
|
"kind": "ImageStreamTag",
|
|
"name": "foo:latest"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"replicas": 3,
|
|
"test": false,
|
|
"selector": {
|
|
"io.kompose.service": "foo"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "foo"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "foo",
|
|
"image": " ",
|
|
"resources": {}
|
|
}
|
|
],
|
|
"restartPolicy": "Always"
|
|
}
|
|
}
|
|
},
|
|
"status": {
|
|
"latestVersion": 0,
|
|
"observedGeneration": 0,
|
|
"replicas": 0,
|
|
"updatedReplicas": 0,
|
|
"availableReplicas": 0,
|
|
"unavailableReplicas": 0
|
|
}
|
|
},
|
|
{
|
|
"kind": "ImageStream",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "foo",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "foo"
|
|
}
|
|
},
|
|
"spec": {
|
|
"lookupPolicy": {
|
|
"local": false
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "",
|
|
"annotations": null,
|
|
"from": {
|
|
"kind": "DockerImage",
|
|
"name": "foo"
|
|
},
|
|
"generation": null,
|
|
"importPolicy": {},
|
|
"referencePolicy": {
|
|
"type": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"dockerImageRepository": ""
|
|
}
|
|
}
|
|
]
|
|
}
|