forked from LaconicNetwork/kompose
424 lines
9.4 KiB
JSON
424 lines
9.4 KiB
JSON
{
|
|
"kind": "List",
|
|
"apiVersion": "v1",
|
|
"metadata": {},
|
|
"items": [
|
|
{
|
|
"kind": "Service",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "gitlab",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "gitlab"
|
|
}
|
|
},
|
|
"spec": {
|
|
"ports": [
|
|
{
|
|
"name": "30000",
|
|
"protocol": "TCP",
|
|
"port": 30000,
|
|
"targetPort": 80
|
|
},
|
|
{
|
|
"name": "30001",
|
|
"protocol": "TCP",
|
|
"port": 30001,
|
|
"targetPort": 443
|
|
},
|
|
{
|
|
"name": "30002",
|
|
"protocol": "TCP",
|
|
"port": 30002,
|
|
"targetPort": 22
|
|
}
|
|
],
|
|
"selector": {
|
|
"service": "gitlab"
|
|
}
|
|
},
|
|
"status": {
|
|
"loadBalancer": {}
|
|
}
|
|
},
|
|
{
|
|
"kind": "Service",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "postgresql",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "postgresql"
|
|
}
|
|
},
|
|
"spec": {
|
|
"ports": [
|
|
{
|
|
"name": "5432",
|
|
"protocol": "TCP",
|
|
"port": 5432,
|
|
"targetPort": 5432
|
|
}
|
|
],
|
|
"selector": {
|
|
"service": "postgresql"
|
|
}
|
|
},
|
|
"status": {
|
|
"loadBalancer": {}
|
|
}
|
|
},
|
|
{
|
|
"kind": "Service",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "redis",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "redis"
|
|
}
|
|
},
|
|
"spec": {
|
|
"ports": [
|
|
{
|
|
"name": "6379",
|
|
"protocol": "TCP",
|
|
"port": 6379,
|
|
"targetPort": 6379
|
|
}
|
|
],
|
|
"selector": {
|
|
"service": "redis"
|
|
}
|
|
},
|
|
"status": {
|
|
"loadBalancer": {}
|
|
}
|
|
},
|
|
{
|
|
"kind": "DeploymentConfig",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "gitlab",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "gitlab"
|
|
}
|
|
},
|
|
"spec": {
|
|
"strategy": {
|
|
"resources": {}
|
|
},
|
|
"triggers": [
|
|
{
|
|
"type": "ConfigChange"
|
|
},
|
|
{
|
|
"type": "ImageChange",
|
|
"imageChangeParams": {
|
|
"automatic": true,
|
|
"containerNames": [
|
|
"gitlab"
|
|
],
|
|
"from": {
|
|
"kind": "ImageStreamTag",
|
|
"name": "gitlab:latest"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"replicas": 1,
|
|
"test": false,
|
|
"selector": {
|
|
"service": "gitlab"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "gitlab"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "gitlab",
|
|
"image": " ",
|
|
"ports": [
|
|
{
|
|
"containerPort": 80,
|
|
"protocol": "TCP"
|
|
},
|
|
{
|
|
"containerPort": 443,
|
|
"protocol": "TCP"
|
|
},
|
|
{
|
|
"containerPort": 22,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "DB_NAME",
|
|
"value": "gitlab"
|
|
},
|
|
{
|
|
"name": "DB_PASS",
|
|
"value": "gitlab"
|
|
},
|
|
{
|
|
"name": "DB_PORT",
|
|
"value": "5432"
|
|
},
|
|
{
|
|
"name": "DB_TYPE",
|
|
"value": "postgres"
|
|
},
|
|
{
|
|
"name": "DB_USER",
|
|
"value": "gitlab"
|
|
},
|
|
{
|
|
"name": "REDIS_HOST",
|
|
"value": "redis"
|
|
},
|
|
{
|
|
"name": "REDIS_PORT",
|
|
"value": "6379"
|
|
},
|
|
{
|
|
"name": "DB_HOST",
|
|
"value": "postgresql"
|
|
}
|
|
],
|
|
"resources": {}
|
|
}
|
|
],
|
|
"restartPolicy": "Always"
|
|
}
|
|
}
|
|
},
|
|
"status": {}
|
|
},
|
|
{
|
|
"kind": "ImageStream",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "gitlab",
|
|
"creationTimestamp": null
|
|
},
|
|
"spec": {
|
|
"tags": [
|
|
{
|
|
"name": "latest",
|
|
"annotations": null,
|
|
"from": {
|
|
"kind": "DockerImage",
|
|
"name": "swordphilic/gitlab"
|
|
},
|
|
"generation": null,
|
|
"importPolicy": {}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"dockerImageRepository": ""
|
|
}
|
|
},
|
|
{
|
|
"kind": "DeploymentConfig",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "postgresql",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "postgresql"
|
|
}
|
|
},
|
|
"spec": {
|
|
"strategy": {
|
|
"resources": {}
|
|
},
|
|
"triggers": [
|
|
{
|
|
"type": "ConfigChange"
|
|
},
|
|
{
|
|
"type": "ImageChange",
|
|
"imageChangeParams": {
|
|
"automatic": true,
|
|
"containerNames": [
|
|
"postgresql"
|
|
],
|
|
"from": {
|
|
"kind": "ImageStreamTag",
|
|
"name": "postgresql:latest"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"replicas": 1,
|
|
"test": false,
|
|
"selector": {
|
|
"service": "postgresql"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "postgresql"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "postgresql",
|
|
"image": " ",
|
|
"ports": [
|
|
{
|
|
"containerPort": 5432,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "DB_NAME",
|
|
"value": "gitlab"
|
|
},
|
|
{
|
|
"name": "DB_PASS",
|
|
"value": "gitlab"
|
|
},
|
|
{
|
|
"name": "DB_USER",
|
|
"value": "gitlab"
|
|
}
|
|
],
|
|
"resources": {}
|
|
}
|
|
],
|
|
"restartPolicy": "Always"
|
|
}
|
|
}
|
|
},
|
|
"status": {}
|
|
},
|
|
{
|
|
"kind": "ImageStream",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "postgresql",
|
|
"creationTimestamp": null
|
|
},
|
|
"spec": {
|
|
"tags": [
|
|
{
|
|
"name": "latest",
|
|
"annotations": null,
|
|
"from": {
|
|
"kind": "DockerImage",
|
|
"name": "swordphilic/postgresql"
|
|
},
|
|
"generation": null,
|
|
"importPolicy": {}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"dockerImageRepository": ""
|
|
}
|
|
},
|
|
{
|
|
"kind": "DeploymentConfig",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "redis",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "redis"
|
|
}
|
|
},
|
|
"spec": {
|
|
"strategy": {
|
|
"resources": {}
|
|
},
|
|
"triggers": [
|
|
{
|
|
"type": "ConfigChange"
|
|
},
|
|
{
|
|
"type": "ImageChange",
|
|
"imageChangeParams": {
|
|
"automatic": true,
|
|
"containerNames": [
|
|
"redis"
|
|
],
|
|
"from": {
|
|
"kind": "ImageStreamTag",
|
|
"name": "redis:latest"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"replicas": 1,
|
|
"test": false,
|
|
"selector": {
|
|
"service": "redis"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"service": "redis"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "redis",
|
|
"image": " ",
|
|
"ports": [
|
|
{
|
|
"containerPort": 6379,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {}
|
|
}
|
|
],
|
|
"restartPolicy": "Always"
|
|
}
|
|
}
|
|
},
|
|
"status": {}
|
|
},
|
|
{
|
|
"kind": "ImageStream",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "redis",
|
|
"creationTimestamp": null
|
|
},
|
|
"spec": {
|
|
"tags": [
|
|
{
|
|
"name": "latest",
|
|
"annotations": null,
|
|
"from": {
|
|
"kind": "DockerImage",
|
|
"name": "swordphilic/redis"
|
|
},
|
|
"generation": null,
|
|
"importPolicy": {}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"dockerImageRepository": ""
|
|
}
|
|
}
|
|
]
|
|
}
|