vorburger / opendaylight-coe-kubernetes-openshift

Personal sandbox for http://OpenDaylight.org CoE Kubernetes OpenShift related stuff which may move "upstream" in due time
Apache License 2.0
1 stars 1 forks source link

OpenShift Console URL with public IP does HTTP redirect to internal private IP #7

Open vorburger opened 5 years ago

vorburger commented 5 years ago

https://38.145.32.68:8443/console ==> https://openshift-master.rdocloud:8443 which is not publicly reachable :sob:

Specifically, the bad redirect sems to happen when it wants to make you login: https://openshift-master.rdocloud:8443/oauth/authorize?client_id=openshift-web-console&response_type=code&state=...&redirect_uri=https%3A%2F%2Fopenshift-master.rdocloud%3A8443%2Fconsole%2Foauth

There must be a way to not make it do that...

vorburger commented 5 years ago

https://github.com/openshift/origin-web-console/issues/3008 seems relevant, and looking at https://github.com/openshift/openshift-ansible/blob/master/inventory/hosts.example makes me think that openshift_master_cluster_public_hostname may be the openshift-ansible equivalent to --public-hostname that I'm looking for... trying that!

vorburger commented 5 years ago

That didn't help, or only partially; see openshift/origin-web-console#3008 for details :disappointed: