install crds should respect Timeout option

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
pull/12132/head
hejianpeng 2 years ago
parent 1c4885fce7
commit 7e853045d0

@ -166,7 +166,7 @@ func (i *Install) installCRDs(crds []chart.CRD) error {
} }
if len(totalItems) > 0 { if len(totalItems) > 0 {
// Give time for the CRD to be recognized. // 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 return err
} }

Loading…
Cancel
Save