From 8f42ba02547910b4201dd75a9abdec8ec089cccf Mon Sep 17 00:00:00 2001 From: Matt Hook Date: Tue, 19 Sep 2023 18:07:41 +1200 Subject: [PATCH] allow libhelm to use forward proxy (#10330) --- 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 465c0d7f4aa72..cbe524c75e4b7 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, } }