Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion api/v1beta1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ type ValidateHealth struct {
JobCheck *JobHealthCheck `json:"jobCheck,omitempty"`
}

// +kubebuilder:validation:Enum:=Provisioning;Provisioned;Failed;FailedNonRetriable;Removing;Removed;AgentRemoving
// +kubebuilder:validation:Enum:=Provisioning;Provisioned;Failed;FailedNonRetriable;Removing;Removed;AgentRemoving;Blocked
type FeatureStatus string

const (
Expand Down Expand Up @@ -470,6 +470,11 @@ const (

// FeatureStatusRemoved indicates that feature is removed
FeatureStatusRemoved = FeatureStatus("Removed")

// FeatureStatusBlocked indicates that removal of this feature is deferred:
// a dependent ClusterSummary (DependsOn) has not been removed yet, or a
// successor ClusterSummary (TransitionFrom) has not reached Provisioned yet.
FeatureStatusBlocked = FeatureStatus("Blocked")
)

type FeatureDeploymentInfo struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@ spec:
- Removing
- Removed
- AgentRemoving
- Blocked
type: string
type: object
type: object
Expand Down
1 change: 1 addition & 0 deletions lib/crd/configurationgroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ spec:
- Removing
- Removed
- AgentRemoving
- Blocked
type: string
type: object
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ spec:
- Removing
- Removed
- AgentRemoving
- Blocked
type: string
type: object
type: object
Expand Down