Skip to content

Commit 94c1dea

Browse files
committedJan 31, 2024
bug: add proxy support for oci getter
adds missing proxy support on oci chart getter. Signed-off-by: Ricardo Maraschini <ricardo.maraschini@gmail.com>
1 parent e81f614 commit 94c1dea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎pkg/getter/ocigetter.go

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ func (g *OCIGetter) newRegistryClient() (*registry.Client, error) {
119119
IdleConnTimeout: 90 * time.Second,
120120
TLSHandshakeTimeout: 10 * time.Second,
121121
ExpectContinueTimeout: 1 * time.Second,
122+
Proxy: http.ProxyFromEnvironment,
122123
}
123124
})
124125

0 commit comments

Comments
 (0)
Please sign in to comment.