aws-cli
aws-cli copied to clipboard
added proxy-url option to eks update-kubeconfig
Issue #7622:
Description of changes: Added the option of specifying a proxy-url such that it adds an entry to the context when updating kubeconfig via aws cli.
aws eks update-kubeconfig --name mycluster --proxy-url socks5://<username>:<password>@<proxy_url>:<proxy_port>
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Hi @bendudz, apologies for the delay, may I trouble you for a rebase and refactor? Then we'll go ahead with the review and merge, thanks ๐
Hi @bendudz, apologies for the delay, may I trouble you for a rebase and refactor? Then we'll go ahead with the review and merge, thanks ๐
Hi @yuxiang-zhang I've given it a go, it's been months since I looked at this. Rebased to develop branch and refactored my PR. Hopefully that will be sufficient.
Thank you! I'll look into getting this merged
Hi @yuxiang-zhang any idea when this can be merged please?
meanwhile, as a workaround, you can use:
kubectl config set clusters.<cluster>.proxy-url socks5://localhost:1080
kubectl config set clusters.<cluster>.proxy-url http://localhost:8888
Kindest little bump - would it be possible to revive this PR? This would help with automation, reducing the need for manual edits. Thank you ๐งก
Sorry about the delay getting to this, we were just pointed at it internally. Merged into develop for the next V1 release, I'll reply again with the version number once it's out. The maintainers can then also port to V2.
--proxy-url has been added to V1 in 1.42.42 and V2 in 2.31.7. Thanks again @bendudz for the contribution!