update templates to use template.openshift.io/expose-uri

This commit is contained in:
Jim Minter 2017-06-13 12:49:00 +01:00
parent cedcc6889d
commit 7c497532b2
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}",