Skip to content

Commit

Permalink
explain
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Nov 26, 2024
1 parent ce04d56 commit 6547471
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/upgradeservice/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ func Deploy(opts DeployOptions) error {
tgzArchiveKey: tgzArchiveKey,
requiresClusterUpgrade: true,
}); err != nil {
// The operator is responsible for notifying of upgrade success/failure using the deployment.
// If we cannot create the deployment, the operator cannot take over and we need to notify of failure here.
if err := notifyClusterUpgradeFailed(context.Background(), kbClient, opts, finalError.Error()); err != nil {
logger.Errorf("Failed to notify upgrade failed: %v", err)
}
Expand Down

0 comments on commit 6547471

Please sign in to comment.