From f6163cb06834bd017406ad03d8e644718daf58b9 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 (cherry picked from commit 13ac2a66415d518218bacd9e15528b32549db89d) --- 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 f5e11c0..c9590d8 100644 --- a/chart/templates/crds.yaml +++ b/chart/templates/crds.yaml @@ -1412,6 +1412,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: @@ -2361,6 +2385,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 7dbc7fa..4020f0f 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -1539,6 +1539,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: @@ -2505,6 +2529,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: