Browse Source

parameterize IS namespace

pull/37/head
gabemontero 9 years ago
parent
commit
f371465cc2
2 changed files with 15 additions and 3 deletions
  1. +8
    -2
      openshift/templates/django-postgresql.json
  2. +7
    -1
      openshift/templates/django.json

+ 8
- 2
openshift/templates/django-postgresql.json View File

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


+ 7
- 1
openshift/templates/django.json View File

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


Loading…
Cancel
Save