-
Notifications
You must be signed in to change notification settings - Fork 23
CLOUDP-342319 - Fix proxy env vars #398
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: Fix proxy environment variables | ||
| kind: fix | ||
| date: 2025-09-02 | ||
| --- | ||
|
|
||
| * Fixed an issue where MongoDB Agents were not using the NO_PROXY environment variable when set on the operator. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -145,11 +145,6 @@ else | |
| fi | ||
|
|
||
|
|
||
|
|
||
| if [[ -n "${HTTP_PROXY-}" ]]; then | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice! I wanted to remove this one ages ago. That just makes no sense - since the go lib gets those from the env var anyway There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but let's link mms-automation code here for code reference for the future? I assume/remember that they create the http client including the proxy There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added a comment |
||
| agentOpts+=("-httpProxy=${HTTP_PROXY}") | ||
| fi | ||
|
|
||
| if [[ -n "${SSL_TRUSTED_MMS_SERVER_CERTIFICATE-}" ]]; then | ||
| agentOpts+=("-httpsCAFile=${SSL_TRUSTED_MMS_SERVER_CERTIFICATE}") | ||
| fi | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.