From 9a938f2be248969566e5cc5fd2cb2cbba1a3955b Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Fri, 2 Oct 2026 10:43:29 +0200 Subject: [PATCH] Changes hook waiting to use kstatus rather than pod or job specific watcher --- pkg/action/hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/hooks.go b/pkg/action/hooks.go index 3c434e291..bc79a6234 100644 --- a/pkg/action/hooks.go +++ b/pkg/action/hooks.go @@ -117,7 +117,7 @@ func (cfg *Configuration) execHookWithDelayedShutdown(rl *release.Release, hook return shutdownNoOp, fmt.Errorf("unable to get waiter: %w", err) } // Watch hook resources until they have completed - err = waiter.WatchUntilReady(resources, timeout) + err = waiter.Wait(resources, timeout) // Note the time of success/failure h.LastRun.CompletedAt = time.Now() // Mark hook as succeeded or failed