argo-cd/pkg/apiclient
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
..
account refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
application refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
certificate refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
cluster refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
gpgkey refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
project refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
repocreds refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
repository feat: add first class support to access repositories using proxy (#5581) (#6286) 2021-06-16 14:45:10 +02:00
session refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
settings refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
version refactor: upgrade k8s client to v0.21.0 (#6322) 2021-05-27 10:20:53 -07:00
apiclient.go fix: re-use same http transport in grpc proxy to avoid goroutine leak (#6444) 2021-06-09 10:15:56 -07:00
grpcproxy.go fix: re-use same http transport in grpc proxy to avoid goroutine leak (#6444) 2021-06-09 10:15:56 -07:00