Description

ConsoleNotification is the extension for configuring openshift web console notifications.

Type

object

Required
  • spec

Specification

Property Type Description

.apiVersion

string

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

.kind

string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

.metadata

ObjectMeta meta/v1

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

.spec

object

ConsoleNotificationSpec is the desired console notification configuration.

.spec
Description

ConsoleNotificationSpec is the desired console notification configuration.

Type

object

Required
  • text

Property Type Description

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

text is the visible text of the notification.

.spec.link
Description

link is an object that holds notification link details.

Type

object

Required
  • href

  • text

Property Type Description

href

string

href is the absolute secure URL for the link (must use https)

text

string

text is the display text for the link