Install openshift web console on origin 3.9

At the time of writing it looks like that openshift web console cannot install correctly on OpenShift Origin.

Here is how to fix it:

wget https://raw.githubusercontent.com/openshift/origin/master/install/origin-web-console/console-config.yaml
wget https://raw.githubusercontent.com/openshift/origin/master/install/origin-web-console/console-template.yaml

Edit the console-config.yaml file to match your requirements

< pre >
oc create namespace openshift-web-console
sed -i s#https://127.0.0.1:8443/#https://console.apps.example.com:8443/# console-config.yaml
oc process -f console-template.yaml -p “API_SERVER_CONFIG=$(cat console-config.yaml)” | oc apply -n openshift-web-console -f –
oc patch oauthclient openshift-web-console -p ‘{ “redirectURIs” : [ “https://console.apps.example.com:8443/” ] }