provision-demo.sh script sets incorrect URLs in ENV properties
DuncanDoyle opened this issue · 3 comments
The "provision-demo.sh" script sets incorrect values to the service locations/URLs in the environment variables of, for example, the gateway. This causes the whole demo to fail, as no back-end service is actually accessible through the gateway.
Just to clarify a bit more on this issue. AFAIK the problem only occurs when the DNS for the routes (to the gateway) are to an internal address (like 192.168.x.x or 10.x.x. or 127.x.x.x). This is however a common use-case when using minishift, CDK or even oc-cluster wrapper.
I believe that a better solutions is to use cluster.local addresses, but I'm not sure if RHPDS supports using cluster local addresses.
Let's first revert to service names. This currently works in our demo because all services are deployed in the same project. We can change this to "cluster.local" when we decide to deploy the services in different projects.
Agree?
One issue with using service names is that we are by-passing the routes and that will conflict with the blue-green demo. Let's discuss on the meeting today how we can solve this.