Skip to content

Commit

Permalink
Merge pull request sclorg#125 from jim-minter/trello133-tsb-bind
Browse files Browse the repository at this point in the history
update templates to use template.openshift.io/expose-uri
  • Loading branch information
bparees authored Jun 13, 2017
2 parents 3d44de3 + 5d90814 commit 68b66ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion openshift/templates/nodejs-mongodb-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
5 changes: 4 additions & 1 deletion openshift/templates/nodejs-mongodb.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down
5 changes: 4 additions & 1 deletion openshift/templates/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 68b66ca

Please sign in to comment.