-
Notifications
You must be signed in to change notification settings - Fork 539
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 proxy support #2111
Add proxy support #2111
Conversation
Some comments. Given that there seems to be a typo/reverse bug in the code, I think we should really figure out how to get unit tests on this. |
I agree that we should not land this without tests - particularly if most future development is intended to target this branch. |
Thanks for addressing the nits. At this point, are you able to add tests? |
I think I can do it. |
exec doesn't seem to work 🤔 should'nt the config#applyToHTTPSOptions method be changed as well? |
@CGNonofr thanks for heads-up, I will take a look at it. |
@CGNonofr I added agent to |
Looks good! |
This looks good to me, thanks for adding tests. @cjihrig I'll leave it to you to give the final lgtm+approve. |
Thanks for the contribution. /lgtm |
I don't think I can merge this yet. I think #2124 needs to land first. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjihrig, krmodelski 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 |
@krmodelski it looks like there are some issues with the test here - https://github.com/kubernetes-client/javascript/actions/runs/12439738691/job/34734042786:
I think this wasn't caught initially because the PR branch didn't include the new checks for the tests and transpiled code. Are you able to take a look? |
Sure, I will take a look. |
This should fix. |
Similar to 2091, but for the release-1.x branch.
I did not add tests this time because I had some troubles with copying agent options in theI am using different library for HTTP/HTTPS due to this issue in previous library.applyToHTTPSOptions
method. I might work on tests in the meantime.