-
Notifications
You must be signed in to change notification settings - Fork 158
[release-5.9]LOG-6963:Map cluster-wide proxy env variable for compatibility with Vector expectations #3032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This should most likely be fixed in 6.2 (and master), rather than 5.9. Also, I'm not seeing how this is related to fixing the '@' issue in: https://issues.redhat.com/browse/LOG-6963 |
Shouldn't we be merging this fix into master and release-6.2 first. Is there a way we can resolve this in v6, then tell them to upgrade if they complain about not fixing in v5? |
Vector just don't picked up env value in lowercase, not related directly to the Something similar was here: https://issues.redhat.com/browse/LOG-4900 |
Maybe yes, original issue opened for 5.9 thats why i did it firstly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
/retest |
…ectations Signed-off-by: Vitalii Parfonov <[email protected]>
@vparfonov: This pull request references LOG-6963 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@vparfonov: This pull request references LOG-6963 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill, vparfonov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vparfonov: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@vparfonov According to my test result(Vector to Splunk). https_proxy/http_proxy and HTTPS_PROXY/HTTP_RPOXY are same. No matter which one is specified, the PROXY will be used. |
Yes my bad i tested with later version of Vector, going to fix for 5.9 |
@vparfonov: This pull request references LOG-6963 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Description
Adding cluster-wide proxy automatically inject the environment variable, to support
Fluentd
collector they was lowercased tohttp_proxy
,https_proxy
andno_proxy
. In the same time, the Vector expects the variable to be namedHTTP_PROXY
,HTTPS_PROXY
andNO_PROXY
(in uppercase) [1]. This mismatch causes the Vector not picked up proxy settings.This PR adds a mechanism to support both collectors in the Vector value will be remapped according to current collector expectations.
[1] https://github.com/vectordotdev/vector/blob/f5b9265335c9df7bcbd4a57046738fb5e87a67c1/lib/vector-core/src/config/proxy.rs#L121
/cc @Clee2691 @cahartma
/assign @jcantrill
Links