-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
HTTP1 client for server should allow more flexible client config and use context when creating new requests #12827
Comments
Can this PR resolve the issue mentioned here? If there are any missing pieces or additional requirements, could you please point them out? |
hi @shimako55 thanks! this PR does solve one of the requirements (http proxy) I'm wondering if we can
I'm also happy submit PRs for these changes |
thanks for the response and I could understand the importance of them
I will be very happy when this issue is resolved |
…client. Fixes argoproj#12827 the current implementation does not suite our usecase because the http Fascade interface does not take proxy url we have to use proxy for cross network calls for argo server so we might as well just allow a fully configured http client to be passed in - this allows more flexible configurations of the HTTP1 client via custom roundtripper Signed-off-by: williamburgson <[email protected]>
…12827 (#12867) Signed-off-by: williamburgson <[email protected]>
Summary
Currently the ArgoServerOpts expose a few config options but it does not allow setting http proxies. We have an API gateway that connects to multiple services across different network zones, so
What change needs making?
Use Cases
The primary use case is that we would like to set a custom roundtripper for the argo server http1 client.
We have an api gateway (authenticated) that connects to multiple instances of argo servers across multiple network zones and when a request for argo server comes in for the api gateway, it needs to do the following:
both can be done with a custom roundtripper, e.g.
When would you use this?
Not urgent, but I think this is nice to have :)
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritize the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: