Open HarrisKirk opened 1 year ago
Working on this now
I changed the description a little but not the intent of this ticket.
Make sure to pull the latest commits
Post discussion:
I'll merge latest from master branch. Test the 'deploy' from master branch first. And then merge my code, and test the 'depoly' once again.
We will create the switch with a hardcoded 'test' environment for this ticket. And then later on when doing the functionality for switching backends, we can refactor the switch creation/test out into possibly another command.
This should now be completed by #105
Currently, when the cluster is created, the resulting IP is simply logged to the console.
What we want is to link the ingress IP to the nginx backend so requests get routed to the kubernetes service.
See the code that gets the ingress IP here: https://github.com/HarrisKirk/blue-green-dreams/blob/f8a93cf0449830d0bf6cf101e6776e75539905e9/gwa-deploy/bgdctl#L199 I think that IP is what we want to hook up to the nginx backend. But check my thinking.
DONE = a test from the external site will show "Richmond" instead of "Welcome to Nginx" (ie, a full spike through the architectore)