Browse Source

Updating front end route variables and the default front end route value

pull/16/head
ewolinetz 10 years ago
parent
commit
17c53b5da7
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      openshift/templates/django-postgresql.json
  2. +3
    -3
      openshift/templates/django.json

+ 3
- 3
openshift/templates/django-postgresql.json View File

@ -42,7 +42,7 @@
"name": "django-route" "name": "django-route"
}, },
"spec": { "spec": {
"host": "${FRONTEND_ROUTE}",
"host": "${APPLICATION_DOMAIN}",
"to": { "to": {
"kind": "Service", "kind": "Service",
"name": "django-frontend" "name": "django-frontend"
@ -291,9 +291,9 @@
"description": "Set this to the relative path to your project if it is not in the root of your repository" "description": "Set this to the relative path to your project if it is not in the root of your repository"
}, },
{ {
"name": "FRONTEND_ROUTE",
"name": "APPLICATION_DOMAIN",
"description": "The exposed hostname that will route to the Django service", "description": "The exposed hostname that will route to the Django service",
"value": "django.app"
"value": "django-example.openshiftapps.com"
}, },
{ {
"name": "GITHUB_WEBHOOK_SECRET", "name": "GITHUB_WEBHOOK_SECRET",


+ 3
- 3
openshift/templates/django.json View File

@ -42,7 +42,7 @@
"name": "django-route" "name": "django-route"
}, },
"spec": { "spec": {
"host": "${FRONTEND_ROUTE}",
"host": "${APPLICATION_DOMAIN}",
"to": { "to": {
"kind": "Service", "kind": "Service",
"name": "django-frontend" "name": "django-frontend"
@ -210,9 +210,9 @@
"description": "Set this to the relative path to your project if it is not in the root of your repository" "description": "Set this to the relative path to your project if it is not in the root of your repository"
}, },
{ {
"name": "FRONTEND_ROUTE",
"name": "APPLICATION_DOMAIN",
"description": "The exposed hostname that will route to the Django service", "description": "The exposed hostname that will route to the Django service",
"value": "django.app"
"value": "django-example.openshiftapps.com"
}, },
{ {
"name": "GITHUB_WEBHOOK_SECRET", "name": "GITHUB_WEBHOOK_SECRET",


Loading…
Cancel
Save