Skip to content

Commit f80421b

Browse files
feat: updating helm uninstallation timeouts
1 parent cdb678b commit f80421b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/handlers/lifecycle/konnectoragent/handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ func (n *DefaultKonnectorAgent) waitForHelmUninstallCompletion(
496496
) error {
497497
// Create a context with timeout to avoid blocking cluster deletion indefinitely
498498
// 30 seconds should be enough for most helm uninstalls while still being reasonable
499-
waitCtx, cancel := context.WithTimeout(ctx, 30*time.Second)
499+
waitCtx, cancel := context.WithTimeout(ctx, 25*time.Second)
500500
defer cancel()
501501

502502
log.Info("Monitoring HelmChartProxy deletion progress", "name", hcp.Name)
@@ -506,7 +506,7 @@ func (n *DefaultKonnectorAgent) waitForHelmUninstallCompletion(
506506
err := wait.PollUntilContextTimeout(
507507
waitCtx,
508508
3*time.Second,
509-
30*time.Second,
509+
22*time.Second,
510510
true,
511511
func(pollCtx context.Context) (bool, error) {
512512
currentHCP := &caaphv1.HelmChartProxy{}

0 commit comments

Comments
 (0)