-
Notifications
You must be signed in to change notification settings - Fork 419
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
add systemProxy env vars #2687
add systemProxy env vars #2687
Conversation
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.
Why are the env vars being duplicated except with different cases?
Best I could find is because linux doesn't have a governing body. |
Interesting that cost-analyzer-helm-chart/cost-analyzer/values.yaml Lines 300 to 306 in 374399c
A few requests for this PR:
|
Thank you for the review! It is only needed for things that would exit the cluster, so what I have here. Perhaps thanos stuff, but that's outside of scope for what we need here. I'll add a comment. Suggesting that this problem is a good use-case for a service mesh. :) |
Most env vars standardize on upper case, these proxy vars as well, so I suggest dropping the lower case duplicates. |
I agree that it looks dumb and someone should have figured this out 20 years ago. These systemProxy variables with the duplicate case are not new to our helm chart, or linux. If you want to test the possible permutations, I'd be happy to review that change. Otherwise, I'm simply looking to fix the problem for the small handful of users that depend on this setting. |
@jessegoodier Tested this PR with the following values. Validated that it's adding the system proxy env vars to the systemProxy:
enabled: true
httpProxyUrl: "http://TEST"
httpsProxyUrl: "https://TEST"
noProxy: "TEST"
federatedETL:
federator:
enabled: true helm template ./cost-analyzer -f values.yaml > test1.yaml |
Co-authored-by: Thomas Nguyen <[email protected]>
…etl-utils-pod * commit 'b675a8cacaa5b6c64cf00d3583df026cfc2ec507': (28 commits) exec (#2701) swap jimmidyson/configmap-reload for prometheus-operator/prometheus-config-reloader (#2698) update savedReports and advancedReports in values.yml to reflect current filter schema add systemProxy env vars (#2687) feat(cost-analyzer): add StatefulSet as option (#2188) [Feature] Development guide and devcontainers (#2680) Bump actions/checkout from 4.1.0 to 4.1.1 (#2683) remove replicasets from core (#2678) networkCosts service discovery (#2677) Begin Helm testing (#2674) update securityContexts (#2669) consistent image name for aggregator (#2676) Add version matrix and more tests (#2664) label consistency (#2673) setting to 50h to match etl retention time (#2667) pv sizing proxy for wf add missing bracket add ability to override cc sa name Added /savings/localLowDisks proxy for Aggregator. update perms (#2662) ...
What does this PR change?
Add systemProxy env variables to amp/gmp/federator containers
Does this PR rely on any other PRs?
no
How does this PR impact users? (This is the kind of thing that goes in release notes!)
Added systemProxy env variables to amp/gmp/federator containers
What risks are associated with merging this PR? What is required to fully test this PR?
Worst case would be spacing, but I verified each block was aligned, though I didn't deploy each.
How was this PR tested?
changing gmp and amp, federator on:
Have you made an update to documentation? If so, please provide the corresponding PR.
NA