metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.82k stars 105 forks source link

Improve proxy user experience #2714

Open aviramha opened 2 months ago

aviramha commented 2 months ago

Some first time enterprise users fail to use mirrord because of proxy used - sometimes they realize they need to disable use_proxy but on KubeApi if user had no explicitly set proxy settings we can retry with proxy disabled to provide smoother UX

aviramha commented 2 months ago

I've just realized that kubectl doesn't respect SOCKS_PROXY or HTTP_PROXY, only HTTPS_PROXY (but it does respect it when in kubeconfig)

I think we should have same logic

aviramha commented 1 month ago

Open PR upstream - https://github.com/kube-rs/kube/pull/1587