You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(subscriptions): add catalog health conditions
- Add Subscription status catalog health conditions
- Add list of catalog health references to Subscription status
- Reorganize internal types and add new fields
Copy file name to clipboardExpand all lines: pkg/api/apis/operators/subscription_types.go
+114-1Lines changed: 114 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import (
7
7
)
8
8
9
9
// SubscriptionKind is the PascalCase name of a Subscription's kind.
10
-
constSubscriptionKind="SubscriptionKind"
10
+
constSubscriptionKind="Subscription"
11
11
12
12
// SubscriptionState tracks when updates are available, installing, or service is up to date
13
13
typeSubscriptionStatestring
@@ -35,6 +35,65 @@ type SubscriptionSpec struct {
35
35
InstallPlanApprovalApproval
36
36
}
37
37
38
+
// SubscriptionConditionType indicates an explicit state condition about a Subscription in "abnormal-true"
39
+
// polarity form (see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties).
40
+
typeSubscriptionConditionTypestring
41
+
42
+
const (
43
+
// SubscriptionCatalogSourcesUnhealthy indicates that some or all of the CatalogSources to be used in resolution are unhealthy.
0 commit comments