From db9727bb7a06fa15c2ed2d26153a6e887c0e4a21 Mon Sep 17 00:00:00 2001 From: zhujian Date: Mon, 20 May 2024 14:23:00 +0000 Subject: [PATCH] Add a terminating taint const Signed-off-by: zhujian --- cluster/v1/types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cluster/v1/types.go b/cluster/v1/types.go index 2a65367ae..1e3c6f0f0 100644 --- a/cluster/v1/types.go +++ b/cluster/v1/types.go @@ -139,6 +139,9 @@ const ( // 1) The cluster has no condition 'ManagedClusterConditionAvailable'; // 2) Or the status of condition 'ManagedClusterConditionAvailable' is 'Unknown'; ManagedClusterTaintUnreachable string = "cluster.open-cluster-management.io/unreachable" + // ManagedClusterTaintTerminating is the key of the taint added to a managed cluster when it is being deleted. + // To be specific, the cluster's deletion timestamp is set. + ManagedClusterTaintTerminating string = "cluster.open-cluster-management.io/terminating" ) // ManagedClusterStatus represents the current status of joined managed cluster.