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

update templates to use template.openshift.io/expose-uri
This commit is contained in:
Ben Parees 2017-06-13 12:24:08 -04:00 committed by GitHub
commit 68b66caa93
3 changed files with 12 additions and 3 deletions

View File

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

View File

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

View File

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