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 proxy-url from config #65

Open
kxalex opened this issue Aug 9, 2021 · 0 comments
Open

Add support proxy-url from config #65

kxalex opened this issue Aug 9, 2021 · 0 comments

Comments

@kxalex
Copy link

kxalex commented Aug 9, 2021

Hello,

Since 1.19 kube supports proxy-url per cluster.

This was added here kubernetes/kubernetes#81443

Sample config:

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: REMOVED
    server: https://api.some-server.com
    proxy-url: http://some-proxy:1234
  name: cluster-name
contexts:
- context:
    cluster: cluster-name
    namespace: default
    user: user
  name: default
kind: Config
preferences: {}
users:
- name: cluster-name
  user:
    password: REMOVED
    username: admin
- name: cluster-name-basic-auth
  user:
    password: REMOVED
    username: admin

Could you please honour this proxy-url property from config?

If you have few clusters with different proxies it's not that convenient to set http_proxy before using Kail.

@kxalex kxalex changed the title Added support for proxy-url from config Add support for proxy-url from config Aug 9, 2021
@kxalex kxalex changed the title Add support for proxy-url from config Add support proxy-url from config Aug 9, 2021
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

No branches or pull requests

1 participant