# Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: servicedomaininfras.mercury.redhat.io
spec:
  group: mercury.redhat.io
  names:
    kind: ServiceDomainInfra
    plural: servicedomaininfras
    shortNames:
    - sdi
    singular: servicedomaininfra
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        properties:
          spec:
            properties:
              kafka:
                properties:
                  replicas:
                    type: integer
                  storage:
                    properties:
                      size:
                        type: string
                      type:
                        type: string
                    type: object
                type: object
            type: object
          status:
            properties:
              kafkaBroker:
                type: string
              conditions:
                items:
                  properties:
                    status:
                      type: string
                    reason:
                      type: string
                    lastTransitionTime:
                      type: string
                    observedGeneration:
                      type: number
                    type:
                      type: string
                    additionalProperties:
                      additionalProperties:
                        type: string
                      type: object
                    message:
                      type: string
                  type: object
                type: array
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
    additionalPrinterColumns:
      - description: Resource is Ready
        jsonPath: .status.conditions[?(@.type=='Ready')].status
        name: Ready
        type: string
      - description: Kafka cluster status is ready
        jsonPath: .status.conditions[?(@.type=='KafkaBrokerReady')].status
        name: Kafka
        type: string

