---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    description: Extension for configuring openshift web console notifications.
    displayName: ConsoleNotification
    include.release.openshift.io/self-managed-high-availability: "true"
  creationTimestamp: "2022-03-08T10:13:41Z"
  generation: 1
  managedFields:
  - apiVersion: apiextensions.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:description: {}
          f:displayName: {}
          f:include.release.openshift.io/self-managed-high-availability: {}
      f:spec:
        f:additionalPrinterColumns: {}
        f:conversion:
          .: {}
          f:strategy: {}
        f:group: {}
        f:names:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:preserveUnknownFields: {}
        f:scope: {}
        f:subresources:
          .: {}
          f:status: {}
        f:validation:
          .: {}
          f:openAPIV3Schema:
            .: {}
            f:description: {}
            f:properties:
              .: {}
              f:apiVersion:
                .: {}
                f:description: {}
                f:type: {}
              f:kind:
                .: {}
                f:description: {}
                f:type: {}
              f:metadata:
                .: {}
                f:type: {}
              f:spec:
                .: {}
                f:description: {}
                f:properties:
                  .: {}
                  f:backgroundColor:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:color:
                    .: {}
                    f:description: {}
                    f:type: {}
                  f:link:
                    .: {}
                    f:description: {}
                    f:properties:
                      .: {}
                      f:href:
                        .: {}
                        f:description: {}
                        f:pattern: {}
                        f:type: {}
                      f:text:
                        .: {}
                        f:description: {}
                        f:type: {}
                    f:required: {}
                    f:type: {}
                  f:location:
                    .: {}
                    f:description: {}
                    f:pattern: {}
                    f:type: {}
                  f:text:
                    .: {}
                    f:description: {}
                    f:type: {}
                f:required: {}
                f:type: {}
            f:required: {}
            f:type: {}
        f:version: {}
        f:versions: {}
      f:status:
        f:storedVersions: {}
    manager: cluster-version-operator
    operation: Update
    time: "2022-03-08T10:13:41Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:acceptedNames:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:conditions: {}
    manager: kube-apiserver
    operation: Update
    time: "2022-03-08T10:13:41Z"
  name: consolenotifications.console.openshift.io
  resourceVersion: "654"
  selfLink: /apis/apiextensions.k8s.io/v1/customresourcedefinitions/consolenotifications.console.openshift.io
  uid: a8c9875b-20ff-4dd7-86dd-db999caa5bc1
spec:
  conversion:
    strategy: None
  group: console.openshift.io
  names:
    kind: ConsoleNotification
    listKind: ConsoleNotificationList
    plural: consolenotifications
    singular: consolenotification
  scope: Cluster
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.text
      name: Text
      type: string
    - jsonPath: .spec.location
      name: Location
      type: string
    - jsonPath: .metadata.creationTimestamp
      name: Age
      type: date
    name: v1
    schema:
      openAPIV3Schema:
        description: ConsoleNotification is the extension for configuring openshift web console notifications.
        properties:
          apiVersion:
            description: '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'
            type: string
          kind:
            description: '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'
            type: string
          metadata:
            type: object
          spec:
            description: ConsoleNotificationSpec is the desired console notification configuration.
            properties:
              backgroundColor:
                description: backgroundColor is the color of the background for the notification as CSS data type color.
                type: string
              color:
                description: color is the color of the text for the notification as CSS data type color.
                type: string
              link:
                description: link is an object that holds notification link details.
                properties:
                  href:
                    description: href is the absolute secure URL for the link (must use https)
                    pattern: ^https://
                    type: string
                  text:
                    description: text is the display text for the link
                    type: string
                required:
                - href
                - text
                type: object
              location:
                description: 'location is the location of the notification in the console. Valid values are: "BannerTop", "BannerBottom", "BannerTopBottom".'
                pattern: ^(BannerTop|BannerBottom|BannerTopBottom)$
                type: string
              text:
                description: text is the visible text of the notification.
                type: string
            required:
            - text
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: ConsoleNotification
    listKind: ConsoleNotificationList
    plural: consolenotifications
    singular: consolenotification
  conditions:
  - lastTransitionTime: "2022-03-08T10:13:41Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2022-03-08T10:13:41Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1
