Skip to content

Commit

Permalink
simplify the addon progressing message (#335)
Browse files Browse the repository at this point in the history
Signed-off-by: haoqing0110 <[email protected]>
  • Loading branch information
haoqing0110 authored Jun 5, 2024
1 parent bda2bdc commit f9e7f50
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions addon/v1alpha1/types_managedclusteraddon.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,29 +415,17 @@ const (

// the reason of condition ManagedClusterAddOnConditionProgressing
const (
// ProgressingReasonInstalling is the reason of condition Progressing indicating the addon configuration is
// installing.
ProgressingReasonInstalling = "Installing"
// ProgressingReasonProgressing is the reason of condition Progressing indicating the addon configuration is
// applying.
ProgressingReasonProgressing = "Progressing"

// ProgressingReasonInstallSucceed is the reason of condition Progressing indicating the addon configuration is
// installed successfully.
ProgressingReasonInstallSucceed = "InstallSucceed"
// ProgressingReasonCompleted is the reason of condition Progressing indicating the addon configuration is
// applied successfully.
ProgressingReasonCompleted = "Completed"

// ProgressingReasonInstallFailed is the reason of condition Progressing indicating the addon configuration is
// installed failed.
ProgressingReasonInstallFailed = "InstallFailed"

// ProgressingReasonUpgrading is the reason of condition Progressing indicating the addon configuration is
// upgrading.
ProgressingReasonUpgrading = "Upgrading"

// ProgressingReasonUpgradeSucceed is the reason of condition Progressing indicating the addon configuration is
// upgraded successfully.
ProgressingReasonUpgradeSucceed = "UpgradeSucceed"

// ProgressingReasonUpgradeFailed is the reason of condition Progressing indicating the addon configuration is
// upgraded failed.
ProgressingReasonUpgradeFailed = "UpgradeFailed"
// ProgressingReasonFailed is the reason of condition Progressing indicating the addon configuration
// failed to apply.
ProgressingReasonFailed = "Failed"

// ProgressingReasonWaitingForCanary is the reason of condition Progressing indicating the addon configuration
// upgrade is pending and waiting for canary is done.
Expand Down

0 comments on commit f9e7f50

Please sign in to comment.