Skip to content
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 support for cluster.proxy-url parameter in kubeconfig files #33

Closed
simu opened this issue Jan 24, 2023 · 0 comments · Fixed by #148
Closed

Add support for cluster.proxy-url parameter in kubeconfig files #33

simu opened this issue Jan 24, 2023 · 0 comments · Fixed by #148

Comments

@simu
Copy link
Owner

simu commented Jan 24, 2023

Kubeconfig files allow users to configure a proxy URL for the API server. Out of the box the kube-rs client doesn't pick up this configuration.

Investigate what's necessary to use proxy when it's configured.

simu added a commit that referenced this issue Jun 24, 2024
We switch the kube-rs client creation to use `Client::try_from(Config)`
which builds a client from the provided kubectl config.

Additionally, we enable the `socks5` and `http-proxy` features in
kube-rs which gives us support for kubectl configs that use
`server.proxy-url`.

Fixes #33
@simu simu closed this as completed in #148 Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant