Merge pull request #89 from jim-minter/trello133-tsb-bind
update templates to use template.openshift.io/expose-uri
This commit is contained in:
commit
8a4ce9e1a3
3 changed files with 12 additions and 3 deletions
|
@ -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}",
|
||||||
|
|
|
@ -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}",
|
||||||
|
|
|
@ -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…
Reference in a new issue