fix: HTTP|HTTPS|NO_PROXY env variable reading #3055 (#3063)

* attempting to fix HTTP|HTTPS|NO_PROXY env variable reading #3055 -> @jannfis tnx for the snippet ;)

* adding a couple of sponsors references

* fix! semanthic and form of the statement

* doc: add ref. to companies that sponsored my work on ArgoCD #3055

* avoiding problems

* Trigger notification

Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
This commit is contained in:
Guido Maria Serra+Fenaroli
2020-02-02 05:46:20 +01:00
committed by GitHub
parent 949808f0b2
commit 74fe4af98e
2 changed files with 5 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ Organizations below are **officially** using Argo CD. Please send a PR with your
1. [Viaduct](https://www.viaduct.ai/)
1. [Volvo Cars](https://www.volvocars.com/)
1. [Walkbase](https://www.walkbase.com/)
1. [Whitehat Berlin](https://whitehat.berlin) by Guido Maria Serra +Fenaroli
1. [Yieldlab](https://www.yieldlab.de/)
## Documentation

View File

@@ -188,7 +188,10 @@ func (c *nativeHelmChart) GetIndex() (*Index, error) {
if err != nil {
return nil, err
}
tr := &http.Transport{TLSClientConfig: tlsConf}
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: tlsConf,
}
client := http.Client{Transport: tr}
resp, err := client.Do(req)
if err != nil {