chart: add conditions in engine/replica status.instanceStatus

Longhorn 1330

Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit 13ac2a6641)
This commit is contained in:
Derek Su 2022-12-05 15:03:44 +08:00 committed by David Ko
parent 5bc615d9bc
commit f6163cb068
2 changed files with 96 additions and 0 deletions

View File

@ -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:

View File

@ -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: