Skip to content

Instantly share code, notes, and snippets.

@nak3
Created September 5, 2015 16:41
Show Gist options
  • Save nak3/2cbdc3fe9ce6ffce8fe5 to your computer and use it in GitHub Desktop.
Save nak3/2cbdc3fe9ce6ffce8fe5 to your computer and use it in GitHub Desktop.
{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"kind": "BuildConfig",
"apiVersion": "v1",
"metadata": {
"name": "helloworld-v3",
"creationTimestamp": null,
"labels": {
"app": "helloworld-v3"
}
},
"spec": {
"triggers": [
{
"type": "GitHub",
"github": {
"secret": "9ewsF9laiO2a5qpF1LZs"
}
},
{
"type": "Generic",
"generic": {
"secret": "I11XRlFHIZ-9MO9vEKWC"
}
},
{
"type": "ConfigChange"
},
{
"type": "ImageChange",
"imageChange": {}
}
],
"source": {
"type": "Git",
"git": {
"uri": "https://github.com/nak3/helloworld-v3.git"
}
},
"strategy": {
"type": "Source",
"sourceStrategy": {
"from": {
"kind": "ImageStreamTag",
"namespace": "openshift",
"name": "php:latest"
}
}
},
"output": {
"to": {
"kind": "ImageStreamTag",
"name": "helloworld-v3:latest"
}
},
"resources": {}
},
"status": {
"lastVersion": 0
}
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"metadata": {
"name": "helloworld-v3",
"creationTimestamp": null,
"labels": {
"app": "helloworld-v3"
}
},
"spec": {
"strategy": {
"resources": {}
},
"triggers": [
{
"type": "ConfigChange"
},
{
"type": "ImageChange",
"imageChangeParams": {
"automatic": true,
"containerNames": [
"helloworld-v3"
],
"from": {
"kind": "ImageStreamTag",
"name": "helloworld-v3:latest"
}
}
}
],
"replicas": 1,
"selector": {
"deploymentconfig": "helloworld-v3"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"deploymentconfig": "helloworld-v3"
}
},
"spec": {
"containers": [
{
"name": "helloworld-v3",
"image": "library/helloworld-v3:latest",
"ports": [
{
"containerPort": 8080,
"protocol": "TCP"
}
],
"resources": {}
}
]
}
}
},
"status": {}
},
{
"kind": "Service",
"apiVersion": "v1",
"metadata": {
"name": "helloworld-v3",
"creationTimestamp": null,
"labels": {
"app": "helloworld-v3"
}
},
"spec": {
"ports": [
{
"name": "8080-tcp",
"protocol": "TCP",
"port": 8080,
"targetPort": 8080,
"nodePort": 0
}
],
"selector": {
"deploymentconfig": "helloworld-v3"
}
},
"status": {
"loadBalancer": {}
}
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "helloworld-v3",
"creationTimestamp": null,
"labels": {
"app": "helloworld-v3"
}
},
"spec": {},
"status": {
"dockerImageRepository": ""
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment