Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 925 Bytes

adding-custom-notification-banners.adoc

File metadata and controls

37 lines (31 loc) · 925 Bytes

Creating custom notification banners

Prerequisites
  • You must have administrator privileges.

Procedure
  1. From AdministrationCustom Resource Definitions, click on ConsoleNotification.

  2. Select Instances tab

  3. 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 (1)
      link:
        href: 'https://www.example.com'
        text: Optional link text
      color: '#fff'
      backgroundColor: '#0088ce'
    1. Valid location settings are BannerTop, BannerBottom, and BannerTopBottom.

  4. Click Create to apply your changes.