-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
Readd optional proxy support #438
Conversation
c6e72ba
to
3ca625b
Compare
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.
Though haven't had the possibility to check it. Looks like it's handling it great in a smart way.
Service
abstraction is handling everything :D
How was #246 tested? This compiles and doesn't break when |
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.
comment on proxy matching
I wish I remember. It's possible I took @edio's silence as success. At the time it was only an example feature with a one liner to reqwest. As a sanity is it enough to run |
I can see Also a ref: master kubernetes kubeconfig comments |
Not working :( It connects to
|
So in our case, what's the difference from simply replacing the |
Think I have a more realistic example that may be more helpful in doing this feature:
Then a setup that works with clusters:
- cluster:
server: https://127.0.0.1:6443
proxy-url: http://localhost:3126 sshd sets up a socks proxy against your local port 3126, which you can use to connect to the "other localhost" as you exit the proxy. |
Closing and will try again after #540. I was misunderstanding how this should work. An easier way to test will be to set up |
I decided to use Custom client should be able to use I'll open a PR sometime during the week. |
Hey @kazk i know this is a bit ancient but you said this is doable with hyper-proxy. Are you able to write up an issue of what needs to be done to implement this? If you are busy, then at least having the outstanding work documented would be useful! |
I don't remember the details anymore, but I think I ran into some issues with I have a WIP branch from when I commented above, so I'll rebase that to the latest, and open a draft PR. |
Opened #837 |
Readd proxy support (#245) for now. At least until we have a way for users to implement this easily with custom service.
Added
proxy_url
toConfig
andCluster
(mentioned in #425). So, it can be set manually or set in config file.Using unreleased version ofHaven't tested, but compiles.hyper-proxy
.