Create custom notification banners
You can create a ConsoleNotification custom resource to display a banner at the top or bottom of every page in the web console.
Prerequisites
-
You must have administrator privileges.
Procedure
-
From Administration → Custom Resource Definitions, click ConsoleNotification.
-
Select the Instances tab.
-
Click Create Console Notification and edit the file:
apiVersion: console.openshift.io/v1 kind: ConsoleNotification metadata: name: example spec: text: This is an example notification message with an optional link. location: BannerTop link: href: 'https://www.example.com' text: Optional link text color: '#fff' backgroundColor: '#0088ce'The
locationfield acceptsBannerTop,BannerBottom, orBannerTopBottom. -
Click Create to apply your changes.