Skip to content

Commit

Permalink
Add comment explaining more about why this is here
Browse files Browse the repository at this point in the history
  • Loading branch information
Racer159 committed Feb 23, 2024
1 parent c552a75 commit 53d47eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/packager/images/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (i *ImageConfig) PushToZarfRegistry() error {

httpTransport := http.DefaultTransport.(*http.Transport).Clone()
httpTransport.TLSClientConfig.InsecureSkipVerify = i.Insecure
// TODO (@WSTARR) This is set to match the TLSHandshakeTimeout to potentially mitigate effects of https://github.com/defenseunicorns/zarf/issues/1444
httpTransport.ResponseHeaderTimeout = 10 * time.Second
progressBar := message.NewProgressBar(totalSize, fmt.Sprintf("Pushing %d images to the zarf registry", len(i.ImageList)))
defer progressBar.Stop()
Expand Down

0 comments on commit 53d47eb

Please sign in to comment.