parameterize IS namespace

This commit is contained in:
gabemontero 2016-03-14 17:23:01 -04:00
parent 96e934a9fc
commit f371465cc2
2 changed files with 15 additions and 3 deletions

View file

@ -82,7 +82,7 @@
"sourceStrategy": { "sourceStrategy": {
"from": { "from": {
"kind": "ImageStreamTag", "kind": "ImageStreamTag",
"namespace": "openshift", "namespace": "${NAMESPACE}",
"name": "python:3.4" "name": "python:3.4"
} }
} }
@ -266,7 +266,7 @@
], ],
"from": { "from": {
"kind": "ImageStreamTag", "kind": "ImageStreamTag",
"namespace": "openshift", "namespace": "${NAMESPACE}",
"name": "postgresql:9.4" "name": "postgresql:9.4"
} }
} }
@ -344,6 +344,12 @@
"required": true, "required": true,
"value": "django-psql-example" "value": "django-psql-example"
}, },
{
"name": "NAMESPACE",
"displayName": "Namespace",
"description": "The OpenShift Namespace where the ImageStream resides.",
"value": "openshift"
},
{ {
"name": "MEMORY_LIMIT", "name": "MEMORY_LIMIT",
"displayName": "Memory Limit", "displayName": "Memory Limit",

View file

@ -82,7 +82,7 @@
"sourceStrategy": { "sourceStrategy": {
"from": { "from": {
"kind": "ImageStreamTag", "kind": "ImageStreamTag",
"namespace": "openshift", "namespace": "${NAMESPACE}",
"name": "python:3.4" "name": "python:3.4"
} }
} }
@ -230,6 +230,12 @@
"required": true, "required": true,
"value": "django-example" "value": "django-example"
}, },
{
"name": "NAMESPACE",
"displayName": "Namespace",
"description": "The OpenShift Namespace where the ImageStream resides.",
"value": "openshift"
},
{ {
"name": "MEMORY_LIMIT", "name": "MEMORY_LIMIT",
"displayName": "Memory Limit", "displayName": "Memory Limit",