Merge pull request #89 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:16 -04:00 committed by GitHub
commit 8a4ce9e1a3
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

@ -55,7 +55,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}",