kompose/script/test/fixtures/domain/output-os.json
Hang Yan f3412a7399 Add headless service type label
Also remove the relation between restart and service create
2018-04-15 00:23:48 +08:00

100 lines
2.1 KiB
JSON

{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"metadata": {
"name": "dns",
"creationTimestamp": null,
"labels": {
"io.kompose.service": "dns"
},
"annotations": {
"kompose.cmd": "%CMD%",
"kompose.version": "%VERSION%"
}
},
"spec": {
"strategy": {
"resources": {}
},
"triggers": [
{
"type": "ConfigChange"
},
{
"type": "ImageChange",
"imageChangeParams": {
"automatic": true,
"containerNames": [
"dns"
],
"from": {
"kind": "ImageStreamTag",
"name": "dns:latest"
}
}
}
],
"replicas": 1,
"test": false,
"selector": {
"io.kompose.service": "dns"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"io.kompose.service": "dns"
}
},
"spec": {
"containers": [
{
"name": "dns",
"image": " ",
"resources": {}
}
],
"restartPolicy": "Always",
"hostname": "affy",
"subdomain": "affy.com"
}
}
},
"status": {}
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "dns",
"creationTimestamp": null,
"labels": {
"io.kompose.service": "dns"
}
},
"spec": {
"tags": [
{
"name": "latest",
"annotations": null,
"from": {
"kind": "DockerImage",
"name": "phensley/docker-dns"
},
"generation": null,
"importPolicy": {}
}
]
},
"status": {
"dockerImageRepository": ""
}
}
]
}