-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support HTTP proxy env variables (#4769)
Support HTTP proxy variables (some docs https://superuser.com/questions/944958/are-http-proxy-https-proxy-and-no-proxy-environment-variables-standard). The codebase already supports it, but some places were missed. There were also two problems: 1. query grpc gateway was connecting to :16686 which is not recognized by NO_PROXY 2. grpc reporter in agent when used with all-in-one was connecting to `:14250` also not recognized by NO_PROXY Example of proxy vars set on OpenShift ``` - name: HTTP_PROXY value: >- http://proxy-user1:[email protected]:3128 - name: http_proxy value: >- http://proxy-user1:[email protected]:3128 - name: HTTPS_PROXY value: >- http://proxy-user1:[email protected]:3128 - name: https_proxy value: >- http://proxy-user1:[email protected]:3128 - name: NO_PROXY value: >- .cluster.local,.svc,.us-east-2.compute.internal,10.0.0.0/16,10.128.0.0/14,127.0.0.1,169.254.169.254,172.30.0.0/16,api-int.rererer.qe.devcluster.openshift.com,localhost,test.no-proxy.com - name: no_proxy value: >- .cluster.local,.svc,.us-east-2.compute.internal,10.0.0.0/16,10.128.0.0/14,127.0.0.1,169.254.169.254,172.30.0.0/16,api-int.rerererer.qe.devcluster.openshift.com,localhost,test.no-proxy.com ``` PR is related to jaegertracing/jaeger-operator#2330 ``` make build-binaries-linux DOCKER_NAMESPACE=pavolloffay DOCKER_TAG=proxy-3 make docker-images-jaeger-backend ``` --------- Signed-off-by: Pavol Loffay <[email protected]>
- Loading branch information
1 parent
a53ddaf
commit af70f26
Showing
5 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters