From 7e853045d0fdb582e5a0fb9c19fd65c7d1195588 Mon Sep 17 00:00:00 2001 From: hejianpeng Date: Sat, 10 Jun 2023 14:40:41 +0800 Subject: [PATCH] install crds should respect Timeout option Signed-off-by: hejianpeng --- pkg/action/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/install.go b/pkg/action/install.go index d5c34cef7..eb4a36b0e 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -166,7 +166,7 @@ func (i *Install) installCRDs(crds []chart.CRD) error { } if len(totalItems) > 0 { // Give time for the CRD to be recognized. - if err := i.cfg.KubeClient.Wait(totalItems, 60*time.Second); err != nil { + if err := i.cfg.KubeClient.Wait(totalItems, i.Timeout); err != nil { return err }