Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Move UpgradeableUpgradeInProgress into the internal pkg
  • Loading branch information
hongkailiu committed Nov 19, 2025
commit d5212c0e014c941d73bcd866a0bdf685aef5a0e7
2 changes: 1 addition & 1 deletion pkg/cvo/upgradeable.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ type upgradeInProgressUpgradeable struct {

func (check *upgradeInProgressUpgradeable) Check() *configv1.ClusterOperatorStatusCondition {
cond := &configv1.ClusterOperatorStatusCondition{
Type: "UpgradeableUpgradeInProgress",
Type: internal.UpgradeableUpgradeInProgress,
Status: configv1.ConditionTrue,
}

Expand Down
3 changes: 3 additions & 0 deletions pkg/internal/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ const (
// UpgradeableClusterVersionOverrides is False if there are overrides in the Cluster Version, and thus update to the next minor
// version is blocked.
UpgradeableClusterVersionOverrides configv1.ClusterStatusConditionType = "UpgradeableClusterVersionOverrides"

// UpgradeableUpgradeInProgress is True if an update is in progress
UpgradeableUpgradeInProgress configv1.ClusterStatusConditionType = "UpgradeableUpgradeInProgress"
)