From 13ac2a66415d518218bacd9e15528b32549db89d Mon Sep 17 00:00:00 2001 From: Derek Su Date: Mon, 5 Dec 2022 15:03:44 +0800 Subject: [PATCH] chart: add conditions in engine/replica status.instanceStatus Longhorn 1330 Signed-off-by: Derek Su --- chart/templates/crds.yaml | 48 +++++++++++++++++++++++++++++++++++++++ deploy/longhorn.yaml | 48 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/chart/templates/crds.yaml b/chart/templates/crds.yaml index b6b3f50..3e4078f 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1414,6 +1414,30 @@ spec: type: object nullable: true type: object + conditions: + items: + properties: + lastProbeTime: + description: Last time we probed the condition. + type: string + lastTransitionTime: + description: Last time the condition transitioned from one status to another. + type: string + message: + description: Human-readable message indicating details about last transition. + type: string + reason: + description: Unique, one-word, CamelCase reason for the condition's last transition. + type: string + status: + description: Status is the status of the condition. Can be True, False, Unknown. + type: string + type: + description: Type is the type of the condition. + type: string + type: object + nullable: true + type: array currentImage: type: string currentReplicaAddressMap: @@ -2371,6 +2395,30 @@ spec: status: description: ReplicaStatus defines the observed state of the Longhorn replica properties: + conditions: + items: + properties: + lastProbeTime: + description: Last time we probed the condition. + type: string + lastTransitionTime: + description: Last time the condition transitioned from one status to another. + type: string + message: + description: Human-readable message indicating details about last transition. + type: string + reason: + description: Unique, one-word, CamelCase reason for the condition's last transition. + type: string + status: + description: Status is the status of the condition. Can be True, False, Unknown. + type: string + type: + description: Type is the type of the condition. + type: string + type: object + nullable: true + type: array currentImage: type: string currentState: diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 004e83d..4929676 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -1517,6 +1517,30 @@ spec: type: object nullable: true type: object + conditions: + items: + properties: + lastProbeTime: + description: Last time we probed the condition. + type: string + lastTransitionTime: + description: Last time the condition transitioned from one status to another. + type: string + message: + description: Human-readable message indicating details about last transition. + type: string + reason: + description: Unique, one-word, CamelCase reason for the condition's last transition. + type: string + status: + description: Status is the status of the condition. Can be True, False, Unknown. + type: string + type: + description: Type is the type of the condition. + type: string + type: object + nullable: true + type: array currentImage: type: string currentReplicaAddressMap: @@ -2491,6 +2515,30 @@ spec: status: description: ReplicaStatus defines the observed state of the Longhorn replica properties: + conditions: + items: + properties: + lastProbeTime: + description: Last time we probed the condition. + type: string + lastTransitionTime: + description: Last time the condition transitioned from one status to another. + type: string + message: + description: Human-readable message indicating details about last transition. + type: string + reason: + description: Unique, one-word, CamelCase reason for the condition's last transition. + type: string + status: + description: Status is the status of the condition. Can be True, False, Unknown. + type: string + type: + description: Type is the type of the condition. + type: string + type: object + nullable: true + type: array currentImage: type: string currentState: