deploy: Update CRDs after backing image refactoring

Longhorn 3155, 3970

Signed-off-by: Shuo Wu <shuo.wu@suse.com>
This commit is contained in:
Shuo Wu 2022-05-31 14:02:24 +08:00 committed by David Ko
parent ab5a8ec5b6
commit a0a6066726

View File

@ -160,6 +160,10 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The system generated UUID of the provisioned backing image file
jsonPath: .spec.uuid
name: UUID
type: string
- description: The current state of the pod used to provision the backing image file from source - description: The current state of the pod used to provision the backing image file from source
jsonPath: .status.currentState jsonPath: .status.currentState
name: State name: State
@ -168,6 +172,10 @@ spec:
jsonPath: .spec.sourceType jsonPath: .spec.sourceType
name: SourceType name: SourceType
type: string type: string
- description: The backing image file size
jsonPath: .status.size
name: Size
type: string
- description: The node the backing image file will be prepared on - description: The node the backing image file will be prepared on
jsonPath: .spec.nodeID jsonPath: .spec.nodeID
name: Node name: Node
@ -215,6 +223,8 @@ spec:
- upload - upload
- export-from-volume - export-from-volume
type: string type: string
uuid:
type: string
type: object type: object
status: status:
description: BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source description: BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source
@ -223,6 +233,8 @@ spec:
type: string type: string
currentState: currentState:
type: string type: string
ip:
type: string
message: message:
type: string type: string
ownerID: ownerID:
@ -237,6 +249,8 @@ spec:
size: size:
format: int64 format: int64
type: integer type: integer
storageIP:
type: string
type: object type: object
type: object type: object
served: true served: true
@ -502,9 +516,17 @@ spec:
subresources: subresources:
status: {} status: {}
- additionalPrinterColumns: - additionalPrinterColumns:
- description: The backing image name - description: The system generated UUID
jsonPath: .spec.image jsonPath: .status.uuid
name: Image name: UUID
type: string
- description: The source of the backing image file data
jsonPath: .spec.sourceType
name: SourceType
type: string
- description: The backing image file size in each disk
jsonPath: .status.size
name: Size
type: string type: string
- jsonPath: .metadata.creationTimestamp - jsonPath: .metadata.creationTimestamp
name: Age name: Age