From d6d532473ecd9e3d77fbefec2e38908f93dd331d Mon Sep 17 00:00:00 2001 From: Matt Hook Date: Tue, 19 Sep 2023 18:07:51 +1200 Subject: [PATCH] allow libhelm to use forward proxy (#10331) --- pkg/libhelm/binary/search_repo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/libhelm/binary/search_repo.go b/pkg/libhelm/binary/search_repo.go index 465c0d7f4..cbe524c75 100644 --- a/pkg/libhelm/binary/search_repo.go +++ b/pkg/libhelm/binary/search_repo.go @@ -57,7 +57,8 @@ func (hbpm *helmBinaryPackageManager) SearchRepo(searchRepoOpts options.SearchRe // I'm seeing 3 - 4s over wifi. // Give ample time but timeout for now. Can be improved in the future client = &http.Client{ - Timeout: 60 * time.Second, + Timeout: 60 * time.Second, + Transport: http.DefaultTransport, } }