// Module included in the following assemblies:
//
// * web_console/customizing-the-web-console.adoc

[id="creating-custom-notification-banners_{context}"]
= 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: BannerTop <1>
  text: This is an example notification message with an optional link.
----
<1> Valid location settings are `BannerTop`, `BannerBottom`, and `BannerTopBottom`.

. Click the *Save* button to apply your changes.

// Module included in the following assemblies:
//
// * web_console/customizing-the-web-console.adoc

[id="creating-custom-notification-banners_{context}"]
= Creating custom notification banners

.Prerequisites

* You must have administrator privileges.

.Procedure

. From *Administration* -> *Custom Resource Definitions*, click on
*ConsoleNotification*.
. Select *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 <1>
  link:
    href: 'https://www.example.com'
    text: Optional link text
  color: '#fff'
  backgroundColor: '#0088ce'

----
<1> Valid location settings are `BannerTop`, `BannerBottom`, and `BannerTopBottom`.

. Click the *Create* button to apply your changes.

Fix navigation path and CRD format in creating-custom-notification-banners
Fix navigation path and CRD format in creating-custom-notification-banners
