4.3. Customizing the web console URL
You can update the web console URL, consoleURL, to a custom value.
Procedure
Modify the cluster instance created by default during installation in the
consoles.operator.openshift.iocustom resource:$ oc patch consoles.operator.openshift.io cluster --patch '{"spec":{"route":{"hostname":"console.example.com"}}}' --type=mergeIf you specify a custom certificate, you must create a secret in the
openshift-confignamespace that has the key and certificate. For example:$ oc create secret tls console-tls --key=key.pem --cert=cert.pem -n openshift-configThen, add the following stanza to the configuration resource:
spec: route: hostname: console.example.com secret: name: console-tls