Skip to content

Instantly share code, notes, and snippets.

@nak3
Created August 26, 2015 07:14
Show Gist options
  • Save nak3/23de3850fd3abf5ed038 to your computer and use it in GitHub Desktop.
Save nak3/23de3850fd3abf5ed038 to your computer and use it in GitHub Desktop.
{
"apiVersion": "v1",
"items": [
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "python"
},
"name": "sti-python"
},
"spec": {
"tags": [
{
"from": {
"kind": "DockerImage",
"name": "172.30.115.4:5000/default/sti-python:latest"
},
"name": "latest"
}
]
},
"status": {
"dockerImageRepository": ""
}
},
{
"apiVersion": "v1",
"kind": "BuildConfig",
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "python"
},
"name": "sti-python"
},
"spec": {
"output": {
"to": {
"kind": "ImageStreamTag",
"name": "sti-python:latest"
}
},
"resources": {},
"source": {
"contextDir": "3.3/test/standalone-test-app",
"git": {
"uri": "https://github.com/openshift/sti-python.git"
},
"type": "Git"
},
"strategy": {
"customStrategy": {
"env": [
{
"name": "OPENSHIFT_CUSTOM_BUILD_BASE_IMAGE",
"value": "openshift/origin-custom-docker-builder"
}
],
"exposeDockerSocket": true,
"from": {
"kind": "ImageStreamTag",
"name": "origin-custom-docker-builder:latest"
}
},
"type": "Source"
},
"triggers": [
{
"github": {
"secret": "qJgQVxygXIzdlLK8ktk5"
},
"type": "GitHub"
},
{
"generic": {
"secret": "RSjAMcLYRjpc1llAJCW4"
},
"type": "Generic"
},
{
"type": "ConfigChange"
},
{
"imageChange": {},
"type": "ImageChange"
}
]
},
"status": {
"lastVersion": 0
}
},
{
"apiVersion": "v1",
"kind": "DeploymentConfig",
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "python"
},
"name": "sti-python"
},
"spec": {
"replicas": 1,
"selector": {
"app": "python",
"deploymentconfig": "sti-python"
},
"strategy": {
"resources": {},
"rollingParams": {
"intervalSeconds": 1,
"timeoutSeconds": 600,
"updatePeriodSeconds": 1
},
"type": "Rolling"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "python",
"deploymentconfig": "sti-python"
}
},
"spec": {
"containers": [
{
"image": "172.30.115.4:5000/default/sti-python@sha256:169cae2469174ebf65a356504aeb4fc0c45cb57ec8a0a8f11f3509da0e342ebc",
"imagePullPolicy": "Always",
"name": "sti-python",
"ports": [
{
"containerPort": 8080,
"protocol": "TCP"
}
],
"resources": {},
"terminationMessagePath": "/dev/termination-log"
}
],
"dnsPolicy": "ClusterFirst",
"restartPolicy": "Always"
}
},
"triggers": [
{
"type": "ConfigChange"
},
{
"imageChangeParams": {
"automatic": true,
"containerNames": [
"sti-python"
],
"from": {
"kind": "ImageStreamTag",
"name": "sti-python:latest"
}
},
"type": "ImageChange"
}
]
},
"status": {}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "python"
},
"name": "sti-python"
},
"spec": {
"ports": [
{
"name": "8080-tcp",
"nodePort": 0,
"port": 8080,
"protocol": "TCP",
"targetPort": 8080
}
],
"selector": {
"app": "python",
"deploymentconfig": "sti-python"
},
"sessionAffinity": "None",
"type": "ClusterIP"
},
"status": {
"loadBalancer": {}
}
}
],
"kind": "List",
"metadata": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment