Skip to content

Commit f9e7f50

Browse files
authored
simplify the addon progressing message (#335)
Signed-off-by: haoqing0110 <[email protected]>
1 parent bda2bdc commit f9e7f50

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

addon/v1alpha1/types_managedclusteraddon.go

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -415,29 +415,17 @@ const (
415415

416416
// the reason of condition ManagedClusterAddOnConditionProgressing
417417
const (
418-
// ProgressingReasonInstalling is the reason of condition Progressing indicating the addon configuration is
419-
// installing.
420-
ProgressingReasonInstalling = "Installing"
418+
// ProgressingReasonProgressing is the reason of condition Progressing indicating the addon configuration is
419+
// applying.
420+
ProgressingReasonProgressing = "Progressing"
421421

422-
// ProgressingReasonInstallSucceed is the reason of condition Progressing indicating the addon configuration is
423-
// installed successfully.
424-
ProgressingReasonInstallSucceed = "InstallSucceed"
422+
// ProgressingReasonCompleted is the reason of condition Progressing indicating the addon configuration is
423+
// applied successfully.
424+
ProgressingReasonCompleted = "Completed"
425425

426-
// ProgressingReasonInstallFailed is the reason of condition Progressing indicating the addon configuration is
427-
// installed failed.
428-
ProgressingReasonInstallFailed = "InstallFailed"
429-
430-
// ProgressingReasonUpgrading is the reason of condition Progressing indicating the addon configuration is
431-
// upgrading.
432-
ProgressingReasonUpgrading = "Upgrading"
433-
434-
// ProgressingReasonUpgradeSucceed is the reason of condition Progressing indicating the addon configuration is
435-
// upgraded successfully.
436-
ProgressingReasonUpgradeSucceed = "UpgradeSucceed"
437-
438-
// ProgressingReasonUpgradeFailed is the reason of condition Progressing indicating the addon configuration is
439-
// upgraded failed.
440-
ProgressingReasonUpgradeFailed = "UpgradeFailed"
426+
// ProgressingReasonFailed is the reason of condition Progressing indicating the addon configuration
427+
// failed to apply.
428+
ProgressingReasonFailed = "Failed"
441429

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

0 commit comments

Comments
 (0)