From ab5a8ec5b61ab8e87189032833b7ace6d12d4880 Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Tue, 31 May 2022 12:25:58 +0800 Subject: [PATCH] chart: Update CRDs after backing image refactoring Longhorn 3155, 3970 Signed-off-by: Shuo Wu --- chart/templates/crds.yaml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index b02938b..cf065da 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -61,6 +61,10 @@ spec: subresources: status: {} - 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 jsonPath: .status.currentState name: State @@ -69,6 +73,10 @@ spec: jsonPath: .spec.sourceType name: SourceType 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 jsonPath: .spec.nodeID name: Node @@ -116,6 +124,8 @@ spec: - upload - export-from-volume type: string + uuid: + type: string type: object status: description: BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source @@ -124,6 +134,8 @@ spec: type: string currentState: type: string + ip: + type: string message: type: string ownerID: @@ -138,6 +150,8 @@ spec: size: format: int64 type: integer + storageIP: + type: string type: object type: object served: true @@ -395,9 +409,17 @@ spec: subresources: status: {} - additionalPrinterColumns: - - description: The backing image name - jsonPath: .spec.image - name: Image + - description: The system generated UUID + jsonPath: .status.uuid + 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 - jsonPath: .metadata.creationTimestamp name: Age