Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 788 Bytes

adding-custom-notification-banners.adoc

File metadata and controls

31 lines (26 loc) · 788 Bytes

Creating custom notification banners

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

  2. 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: BannerTop (1)
      text: This is an example notification message with an optional link.
    1. Valid location settings are BannerTop, BannerBottom, and BannerTopBottom.

  3. Click the Save button to apply your changes.