Skip to content

Commit

Permalink
Read proxy from environment for the selfhosted client (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Wright <19779568+joshw123@users.noreply.github.com>
Co-authored-by: David Collom <david.collom@jetstack.io>
  • Loading branch information
3 people committed Feb 21, 2024
1 parent f9502ea commit 9dbe07e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/selfhosted/selfhosted.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func New(ctx context.Context, log *logrus.Entry, opts *Options) (*Client, error)

client.Client.Transport = &http.Transport{
TLSClientConfig: tlsConfig,
Proxy: http.ProxyFromEnvironment,
}
}

Expand Down

0 comments on commit 9dbe07e

Please sign in to comment.