Openshift Version: 4.7
I'm trying to update the route url of the openshift webconsole and openshift OAuth athentication. I could successfully do it for openshift console by using
oc edit route.route.openshift.io/console -n openshift-console
Changed console-openshift-console.apps.lab.okd.local
to console-openshift-console.apps.lab.okd.local.<service-node-ip>.nip.io
This worked. Here my intension to add nip.io is to eliminate the manual host entries.
Now I need to change the route url of the openshift oauth as well because login to openshift webconsole redirects the page to openshift OAuth. I tried to update the route url using:
oc edit route.route.openshift.io/oauth-openshift -n openshift-authentication
But once I update the route url from oauth-openshift.apps.lab.okd.local
to oauth-openshift.apps.lab.okd.local.<service-node-ip>.nip.io
and save, the changes gets reverted to original.