kubernetes / kubectl

Issue tracker and mirror of kubectl code
Apache License 2.0
2.87k stars 920 forks source link

Add `proxy-url` command line option #1655

Open kriswuollett opened 1 month ago

kriswuollett commented 1 month ago

What would you like to be added:

Add proxy-url command line option to override cluster setting in selected context config.

Why is this needed:

Golang doesn't support HTTPS_PROXY for localhost addresses as noted in #1653. Avoids the need to statically set proxy urls for each of the clusters defined in a config file.

k8s-ci-robot commented 1 month ago

This issue is currently awaiting triage.

SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
xyz-li commented 1 month ago

/assign