From 6b3567d593e430a0c9601e15ece31d031eac7ce9 Mon Sep 17 00:00:00 2001 From: Daniel Franz Date: Thu, 9 Nov 2023 08:57:36 -0800 Subject: [PATCH] Adds 'OperatorDeprecated' status condition for Subscription. (#306) Signed-off-by: dtfranz --- pkg/operators/v1alpha1/subscription_types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/operators/v1alpha1/subscription_types.go b/pkg/operators/v1alpha1/subscription_types.go index 2452f9a1c..23f2cc511 100644 --- a/pkg/operators/v1alpha1/subscription_types.go +++ b/pkg/operators/v1alpha1/subscription_types.go @@ -117,6 +117,9 @@ const ( // SubscriptionBundleUnpackFailed indicates that the unpack job failed SubscriptionBundleUnpackFailed SubscriptionConditionType = "BundleUnpackFailed" + + // SubscriptionOperatorDeprecated indicates that the Operator currently installed with this Subscription has been deprecated. + SubscriptionOperatorDeprecated SubscriptionConditionType = "OperatorDeprecated" ) const (