Skip to content

Commit

Permalink
Set bigger timeout for getting helm charts from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Jun 6, 2018
1 parent 2d028eb commit 6d32b3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/plugin/helm/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

"k8s.io/helm/pkg/tlsutil"
"k8s.io/helm/pkg/urlutil"
"time"
)

// httpGetter is the default HTTP(/S) backend handler
Expand Down Expand Up @@ -52,6 +53,7 @@ func newHTTPGetter(URL, CertFile, KeyFile, CAFile string) (getter.Getter, error)
tlsConf.ServerName = sni

client.client = &http.Client{
Timeout: 30 * time.Second,
Transport: &http.Transport{
TLSClientConfig: tlsConf,
},
Expand Down

0 comments on commit 6d32b3c

Please sign in to comment.