Browse Source

Merge pull request #89 from jim-minter/trello133-tsb-bind

update templates to use template.openshift.io/expose-uri
pull/92/head
Ben Parees 8 years ago
committed by GitHub
parent
commit
8a4ce9e1a3
3 changed files with 12 additions and 3 deletions
  1. +4
    -1
      openshift/templates/django-postgresql-persistent.json
  2. +4
    -1
      openshift/templates/django-postgresql.json
  3. +4
    -1
      openshift/templates/django.json

+ 4
- 1
openshift/templates/django-postgresql-persistent.json View File

@ -58,7 +58,10 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "${NAME}"
"name": "${NAME}",
"annotations": {
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
}
}, },
"spec": { "spec": {
"host": "${APPLICATION_DOMAIN}", "host": "${APPLICATION_DOMAIN}",


+ 4
- 1
openshift/templates/django-postgresql.json View File

@ -58,7 +58,10 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "${NAME}"
"name": "${NAME}",
"annotations": {
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
}
}, },
"spec": { "spec": {
"host": "${APPLICATION_DOMAIN}", "host": "${APPLICATION_DOMAIN}",


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

@ -55,7 +55,10 @@
"kind": "Route", "kind": "Route",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "${NAME}"
"name": "${NAME}",
"annotations": {
"template.openshift.io/expose-uri": "http://{.spec.host}{.spec.path}"
}
}, },
"spec": { "spec": {
"host": "${APPLICATION_DOMAIN}", "host": "${APPLICATION_DOMAIN}",


Loading…
Cancel
Save