87 lines
2.7 KiB
YAML
87 lines
2.7 KiB
YAML
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: (devel)
|
|
creationTimestamp: null
|
|
name: s2ibinaries.devops.kubesphere.io
|
|
spec:
|
|
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
|
|
group: devops.kubesphere.io
|
|
names:
|
|
kind: S2iBinary
|
|
listKind: S2iBinaryList
|
|
plural: s2ibinaries
|
|
singular: s2ibinary
|
|
scope: Namespaced
|
|
subresources: {}
|
|
validation:
|
|
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
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
status:
|
|
acceptedNames:
|
|
kind: ""
|
|
plural: ""
|
|
conditions: []
|
|
storedVersions: []
|