argo-cd/util/git
Chetan Banavikalmutt 9476ab5e18
feat: add first class support to access repositories using proxy (#5581) (#6286)
* feat: add first class support to access repositories using proxy

Currently, users need to set the proxy URLs as env variables in the repo server. This is not user-friendly and also error-prone. This PR adds support to maintain proxy URLs along with repository configs in the argocd-cm. Argo CD uses this proxy to access your repository. In case the custom proxy is absent, it defaults to reading the proxy from the env variables.

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* set both http & https proxy variables

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
2021-06-16 14:45:10 +02:00
..
mocks chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
client.go feat: add first class support to access repositories using proxy (#5581) (#6286) 2021-06-16 14:45:10 +02:00
creds.go feat: add first class support to access repositories using proxy (#5581) (#6286) 2021-06-16 14:45:10 +02:00
git.go feat: add first class support to access repositories using proxy (#5581) (#6286) 2021-06-16 14:45:10 +02:00
git_test.go feat: add first class support to access repositories using proxy (#5581) (#6286) 2021-06-16 14:45:10 +02:00
ssh.go fix: Enable kex algo diffie-hellman-group-exchange-sha256 for go-git ssh (#6253) 2021-05-18 13:25:23 +02:00
workaround.go feat: add first class support to access repositories using proxy (#5581) (#6286) 2021-06-16 14:45:10 +02:00