ConsoleNotification has a `spec.location` property that lets you specify where the notification should appear. The API doc does not explain what the valid values are, however. $ oc explain consolenotifications.spec KIND: ConsoleNotification VERSION: console.openshift.io/v1 RESOURCE: spec <Object> DESCRIPTION: ConsoleNotificationSpec is the desired console notification configuration. FIELDS: backgroundColor <string> backgroundColor is the color of the background for the notification as CSS data type color. color <string> color is the color of the text for the notification as CSS data type color. link <Object> link is an object that holds notification link details. location <string> location is the location of the notification in the console. text <string> -required- text is the visible text of the notification.
Moving back to ASSIGNED. console-operator needs to vendor the openshift/api changes.
# oc version Client Version: openshift-clients-4.6.0-202006250705.p0-162-g074039a0a Server Version: 4.6.0-0.nightly-2020-10-08-182439 Kubernetes Version: v1.19.0+db1fc96 # oc explain consolenotifications.spec KIND: ConsoleNotification VERSION: console.openshift.io/v1 RESOURCE: spec <Object> DESCRIPTION: ConsoleNotificationSpec is the desired console notification configuration. FIELDS: backgroundColor <string> backgroundColor is the color of the background for the notification as CSS data type color. color <string> color is the color of the text for the notification as CSS data type color. link <Object> link is an object that holds notification link details. location <string> location is the location of the notification in the console. Valid values are: "BannerTop", "BannerBottom", "BannerTopBottom". text <string> -required- text is the visible text of the notification. In `oc explain consolenotifications.spec` we can see valid values for 'location' Moving to VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196