This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.此内容没有您所选择的语言版本。
Chapter 2. Configuring the web console in OpenShift Container Platform
You can modify the OpenShift Container Platform web console to set a logout redirect URL or disable the console.
Prerequisites
- Deploy an OpenShift Container Platform cluster.
2.1. Configuring the web console 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
You can configure the web console settings by editing the console.config.openshift.io
resource.
Edit the
console.config.openshift.io
resource:oc edit console.config.openshift.io cluster
$ oc edit console.config.openshift.io cluster
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The following example displays the sample resource definition for the console:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- Specify the URL of the page to load when a user logs out of the web console. If you do not specify a value, the user returns to the login page for the web console. Specifying a
logoutRedirect
URL allows your users to perform single logout (SLO) through the identity provider to destroy their single sign-on session. - 2
- The web console URL. You cannot modify this parameter value. If you do, the cluster resets it to the default value.