From 79ffa2bb194940373ea166eeb4888418f2bd059c Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Thu, 20 Feb 2020 12:57:20 +0300 Subject: [PATCH] Fix navigation path and CRD format in creating-custom-notification-banners --- modules/adding-custom-notification-banners.adoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/modules/adding-custom-notification-banners.adoc b/modules/adding-custom-notification-banners.adoc index 1e824a2aa0..2c6bd9b56d 100644 --- a/modules/adding-custom-notification-banners.adoc +++ b/modules/adding-custom-notification-banners.adoc @@ -13,8 +13,8 @@ . From *Administration* -> *Custom Resource Definitions*, click on *ConsoleNotification*. - -. Click *YAML* and edit the file: +. Select *Instances* tab +. Click *Create Console Notification* and edit the file: + ---- apiVersion: console.openshift.io/v1 @@ -22,14 +22,15 @@ kind: ConsoleNotification metadata: name: example spec: - backgroundColor: '#0088ce' - color: '#fff' + text: This is an example notification message with an optional link. + location: BannerTop <1> link: href: 'https://www.example.com' text: Optional link text - location: BannerTop <1> - text: This is an example notification message with an optional link. + color: '#fff' + backgroundColor: '#0088ce' + ---- <1> Valid location settings are `BannerTop`, `BannerBottom`, and `BannerTopBottom`. -. Click the *Save* button to apply your changes. +. Click the *Create* button to apply your changes.