# Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: servicedomains.mercury.redhat.io
spec:
  group: mercury.redhat.io
  names:
    kind: ServiceDomain
    plural: servicedomains
    shortNames:
    - sdr
    singular: servicedomain
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        properties:
          spec:
            properties:
              expose:
                items:
                  enum:
                  - http
                  type: string
                type: array
              binding:
                items:
                  properties:
                    env:
                      items:
                        properties:
                          value:
                            type: string
                          valueFrom:
                            properties:
                              configMapKeyRef:
                                properties:
                                  optional:
                                    type: boolean
                                  key:
                                    type: string
                                  name:
                                    type: string
                                  additionalProperties:
                                    additionalProperties:
                                      type: string
                                    type: object
                                type: object
                              fieldRef:
                                properties:
                                  apiVersion:
                                    type: string
                                  fieldPath:
                                    type: string
                                  additionalProperties:
                                    additionalProperties:
                                      type: string
                                    type: object
                                type: object
                              resourceFieldRef:
                                properties:
                                  containerName:
                                    type: string
                                  additionalProperties:
                                    additionalProperties:
                                      type: string
                                    type: object
                                  divisor:
                                    anyOf:
                                    - type: integer
                                    - type: string
                                    x-kubernetes-int-or-string: true
                                  resource:
                                    type: string
                                type: object
                              secretKeyRef:
                                properties:
                                  optional:
                                    type: boolean
                                  key:
                                    type: string
                                  name:
                                    type: string
                                  additionalProperties:
                                    additionalProperties:
                                      type: string
                                    type: object
                                type: object
                              additionalProperties:
                                additionalProperties:
                                  type: string
                                type: object
                            type: object
                          name:
                            type: string
                          additionalProperties:
                            additionalProperties:
                              type: string
                            type: object
                        type: object
                      type: array
                    endpoint:
                      type: string
                    type:
                      type: string
                  type: object
                type: array
              businessImage:
                type: string
              serviceDomainCluster:
                type: string
              type:
                enum:
                - PartyRoutingProfile
                - CustomerOffer
                - CustomerCreditRating
                type: string
            type: object
          status:
            properties:
              kafkaUser:
                type: string
              kafkaTopic:
                type: string
              error:
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
