4.5. Creating custom notification banners
Prerequisites
- You must have administrator privileges.
Procedure
-
From Administration
Custom Resource Definitions, click on ConsoleNotification. Click YAML and edit the file:
apiVersion: console.openshift.io/v1 kind: ConsoleNotification metadata: name: example spec: backgroundColor: '#0088ce' color: '#fff' link: href: 'https://www.example.com' text: Optional link text location: BannerTop1 text: This is an example notification message with an optional link.- 1
- Valid location settings are
BannerTop,BannerBottom, andBannerTopBottom.
- Click the Save button to apply your changes.