---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.16.4
  name: pipelineversions.pipelines.kubeflow.org
spec:
  group: pipelines.kubeflow.org
  names:
    kind: PipelineVersion
    listKind: PipelineVersionList
    plural: pipelineversions
    singular: pipelineversion
  scope: Namespaced
  versions:
  - name: v2beta1
    schema:
      openAPIV3Schema:
        description: PipelineVersion is the Schema for the pipelineversions API.
        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: PipelineVersionSpec defines the desired state of PipelineVersion.
            properties:
              codeSourceURL:
                type: string
              description:
                type: string
              pipelineName:
                type: string
              pipelineSpec:
                x-kubernetes-preserve-unknown-fields: true
            required:
            - pipelineSpec
            type: object
          status:
            description: PipelineVersionStatus defines the observed state of PipelineVersion.
            properties:
              conditions:
                items:
                  description: |-
                    SimplifiedCondition is a metav1.Condition without lastTransitionTime since the database model doesn't have such
                    a concept and it allows a default status in the CRD without a controller setting it.
                  properties:
                    message:
                      maxLength: 32768
                      type: string
                    reason:
                      type: string
                    status:
                      enum:
                      - "True"
                      - "False"
                      - Unknown
                      type: string
                    type:
                      maxLength: 316
                      pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
                      type: string
                  required:
                  - message
                  - reason
                  - status
                  - type
                  type: object
                type: array
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
