Skip to content

Commit f4f8364

Browse files
committed
Merge pull request sclorg#16 from ewolinetz/update_routes
Updating front end route variables and the default front end route value
2 parents ad80f21 + 17c53b5 commit f4f8364

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

openshift/templates/django-postgresql.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"name": "django-route"
4343
},
4444
"spec": {
45-
"host": "${FRONTEND_ROUTE}",
45+
"host": "${APPLICATION_DOMAIN}",
4646
"to": {
4747
"kind": "Service",
4848
"name": "django-frontend"
@@ -291,9 +291,9 @@
291291
"description": "Set this to the relative path to your project if it is not in the root of your repository"
292292
},
293293
{
294-
"name": "FRONTEND_ROUTE",
294+
"name": "APPLICATION_DOMAIN",
295295
"description": "The exposed hostname that will route to the Django service",
296-
"value": "django.app"
296+
"value": "django-example.openshiftapps.com"
297297
},
298298
{
299299
"name": "GITHUB_WEBHOOK_SECRET",

openshift/templates/django.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"name": "django-route"
4343
},
4444
"spec": {
45-
"host": "${FRONTEND_ROUTE}",
45+
"host": "${APPLICATION_DOMAIN}",
4646
"to": {
4747
"kind": "Service",
4848
"name": "django-frontend"
@@ -210,9 +210,9 @@
210210
"description": "Set this to the relative path to your project if it is not in the root of your repository"
211211
},
212212
{
213-
"name": "FRONTEND_ROUTE",
213+
"name": "APPLICATION_DOMAIN",
214214
"description": "The exposed hostname that will route to the Django service",
215-
"value": "django.app"
215+
"value": "django-example.openshiftapps.com"
216216
},
217217
{
218218
"name": "GITHUB_WEBHOOK_SECRET",

0 commit comments

Comments
 (0)