gpe-mw-training / rhte2019_E2E_API_Lifecycle_Mgmt_labs

10 stars 9 forks source link

Add wildcard routes for DEV and PROD gateways #9

Closed satyaj closed 5 years ago

satyaj commented 5 years ago

As wc-router is part of the gateway deployment for DEV and PROD gateway projects, we should have the wildcard router for each env as follows:

.$TENANT_NAME_DEV.$OCP_WILDCARD_DOMAIN and .$TENANT_NAME_PROD.$OCP_WILDCARD_DOMAIN We should then use the wildcard domains in the Jenkins to create the staging and production routes to prevent the manual steps in creating the routes.
jbride commented 5 years ago

The following was executed on the latest lab blueprint:

oc set env dc/router ROUTER_ALLOW_WILDCARD_ROUTES=true -n default

satyaj commented 5 years ago

I ordered a latest lab environment and still see an issue with wildcard routes.

Selection_193

jbride commented 5 years ago

Refresh script now creates a route for the wc-router with for example the following host:

wc-router.openbanking-prod-gw.apps-a9fd.generic.opentlc.com