mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
Fix navigation path and CRD format in creating-custom-notification-banners
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
e7e7e336ca
commit
79ffa2bb19
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user