# Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: apicuriostudios.studio.apicur.io
spec:
  group: studio.apicur.io
  names:
    kind: ApicurioStudio
    plural: apicuriostudios
    shortNames:
      - studio
    singular: apicuriostudio
  scope: Namespaced
  versions:
    - name: v1alpha1
      schema:
        openAPIV3Schema:
          properties:
            spec:
              properties:
                features:
                  properties:
                    graphQL:
                      type: boolean
                    microcks:
                      properties:
                        apiUrl:
                          type: string
                        clientSecret:
                          type: string
                        clientId:
                          type: string
                      type: object
                    asyncAPI:
                      type: boolean
                  type: object
                database:
                  properties:
                    rootPassword:
                      type: string
                    password:
                      type: string
                    volumeSize:
                      type: string
                    install:
                      type: boolean
                    url:
                      type: string
                    type:
                      type: string
                    user:
                      type: string
                    driver:
                      type: string
                    database:
                      type: string
                  type: object
                studioIngress:
                  properties:
                    secretRef:
                      type: string
                    generateCert:
                      type: boolean
                    annotations:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                keycloak:
                  properties:
                    password:
                      type: string
                    volumeSize:
                      type: string
                    ingress:
                      properties:
                        secretRef:
                          type: string
                        generateCert:
                          type: boolean
                        annotations:
                          additionalProperties:
                            type: string
                          type: object
                      type: object
                    install:
                      type: boolean
                    realm:
                      type: string
                    url:
                      type: string
                    user:
                      type: string
                  type: object
                url:
                  type: string
                name:
                  type: string
                apiIngress:
                  properties:
                    secretRef:
                      type: string
                    generateCert:
                      type: boolean
                    annotations:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                wsIngress:
                  properties:
                    secretRef:
                      type: string
                    generateCert:
                      type: boolean
                    annotations:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
              type: object
            status:
              properties:
                uiModule:
                  properties:
                    state:
                      enum:
                        - PREEXISTING
                        - UNKNOWN
                        - READY
                        - DEPLOYING
                        - ERROR
                      type: string
                    lastTransitionTime:
                      type: string
                    error:
                      type: boolean
                    message:
                      type: string
                  type: object
                state:
                  enum:
                    - PREEXISTING
                    - UNKNOWN
                    - READY
                    - DEPLOYING
                    - ERROR
                  type: string
                apiModule:
                  properties:
                    state:
                      enum:
                        - PREEXISTING
                        - UNKNOWN
                        - READY
                        - DEPLOYING
                        - ERROR
                      type: string
                    lastTransitionTime:
                      type: string
                    error:
                      type: boolean
                    message:
                      type: string
                  type: object
                apiUrl:
                  type: string
                keycloakModule:
                  properties:
                    state:
                      enum:
                        - PREEXISTING
                        - UNKNOWN
                        - READY
                        - DEPLOYING
                        - ERROR
                      type: string
                    lastTransitionTime:
                      type: string
                    error:
                      type: boolean
                    message:
                      type: string
                  type: object
                error:
                  type: boolean
                databaseModule:
                  properties:
                    state:
                      enum:
                        - PREEXISTING
                        - UNKNOWN
                        - READY
                        - DEPLOYING
                        - ERROR
                      type: string
                    lastTransitionTime:
                      type: string
                    error:
                      type: boolean
                    message:
                      type: string
                  type: object
                studioUrl:
                  type: string
                wsUrl:
                  type: string
                wsModule:
                  properties:
                    state:
                      enum:
                        - PREEXISTING
                        - UNKNOWN
                        - READY
                        - DEPLOYING
                        - ERROR
                      type: string
                    lastTransitionTime:
                      type: string
                    error:
                      type: boolean
                    message:
                      type: string
                  type: object
                keycloakUrl:
                  type: string
                message:
                  type: string
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}
