apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: (devel)
  name: s2ibinaries.devops.kubesphere.io
spec:
  group: devops.kubesphere.io
  names:
    kind: S2iBinary
    listKind: S2iBinaryList
    plural: s2ibinaries
    singular: s2ibinary
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.fileName
      name: FileName
      type: string
    - jsonPath: .spec.md5
      name: MD5
      type: string
    - jsonPath: .spec.size
      name: Size
      type: string
    - jsonPath: .status.phase
      name: Phase
      type: string
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: S2iBinary is the Schema for the s2ibinaries 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: S2iBinarySpec defines the desired state of S2iBinary
            properties:
              downloadURL:
                description: DownloadURL in KubeSphere
                type: string
              fileName:
                description: FileName is filename of binary
                type: string
              md5:
                description: MD5 is Binary's MD5 Hash
                type: string
              size:
                description: Size is the file size of file
                type: string
              uploadTimeStamp:
                description: UploadTime is last upload time
                format: date-time
                type: string
            type: object
          status:
            description: S2iBinaryStatus defines the observed state of S2iBinary
            properties:
              phase:
                description: Phase is status of S2iBinary . Possible value is "Ready","UnableToDownload"
                type: string
            type: object
        type: object
    served: true
    storage: true
    subresources: {}
