From cbbb5b70b3123008a63f13019e69e2a037fe7a9a Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Thu, 25 Apr 2024 13:12:53 +0530 Subject: [PATCH] KUBESAW-43: Replace the special ToolchainClusterCondition with the standard toolchain Condition Signed-off-by: Feny Mehta --- .../toolchain.dev.openshift.com_memberstatuses.yaml | 13 +++++-------- ...olchain.dev.openshift.com_toolchainclusters.yaml | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml b/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml index 26cd3c6b..c10311fc 100644 --- a/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml +++ b/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml @@ -169,18 +169,16 @@ spec: conditions: description: Conditions is an array of current cluster conditions. items: - description: ToolchainClusterCondition describes current state - of a cluster. properties: - lastProbeTime: - description: Last time the condition was checked. - format: date-time - type: string lastTransitionTime: description: Last time the condition transit from one status to another. format: date-time type: string + lastUpdatedTime: + description: Last time the condition was updated + format: date-time + type: string message: description: Human readable message indicating details about last transition. @@ -193,10 +191,9 @@ spec: Unknown. type: string type: - description: Type of cluster condition, Ready or Offline. + description: Type of condition type: string required: - - lastProbeTime - status - type type: object diff --git a/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml b/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml index 247bba32..9ae3eae7 100644 --- a/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml +++ b/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml @@ -81,18 +81,16 @@ spec: conditions: description: Conditions is an array of current cluster conditions. items: - description: ToolchainClusterCondition describes current state of - a cluster. properties: - lastProbeTime: - description: Last time the condition was checked. - format: date-time - type: string lastTransitionTime: description: Last time the condition transit from one status to another. format: date-time type: string + lastUpdatedTime: + description: Last time the condition was updated + format: date-time + type: string message: description: Human readable message indicating details about last transition. @@ -104,10 +102,9 @@ spec: description: Status of the condition, one of True, False, Unknown. type: string type: - description: Type of cluster condition, Ready or Offline. + description: Type of condition type: string required: - - lastProbeTime - status - type type: object