argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.59k stars 5.36k forks source link

Repo Proxy is used for all repos #18836

Open J11522 opened 3 months ago

J11522 commented 3 months ago

Checklist:

Describe the bug

The proxy of the last configured repo is used.

To Reproduce I am behind a corporate proxy and no internet access except through the proxy. When I configure a repo with a proxy all succeeds. When I create a repo without a proxy, the repo fails. But, my initially working repo also fails.

Expected behavior

The individually configured proxy servers for each repo should be used. In the above scenario, only repos with a configured proxy server should succeed.

Screenshots

Version

argocd: v2.11.2+25f7504
  BuildDate: 2024-05-23T13:32:13Z
  GitCommit: 25f7504ecc198e7d7fdc055fdb83ae50eee5edd0
  GitTreeState: clean
  GoVersion: go1.21.9
  Compiler: gc
  Platform: linux/amd64
argocd-server: v2.11.2+25f7504
  BuildDate: 2024-05-23T13:32:13Z
  GitCommit: 25f7504ecc198e7d7fdc055fdb83ae50eee5edd0
  GitTreeState: clean
  GoVersion: go1.21.9
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: v5.2.1 2023-10-19T20:13:51Z
  Helm Version: v3.14.4+g81c902a
  Kubectl Version: v0.26.11
  Jsonnet Version: v0.20.0

Logs

Paste any relevant application logs here.
rumstead commented 3 months ago

similar issue here https://github.com/argoproj/argo-cd/issues/18487