kubernetes/cmd/kubeadm/app/util/apiclient
Kubernetes Submit Queue 4b41a54eda
Merge pull request #53895 from kad/kubeadm-proxy-transports
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubeadm: Utilize transport defaults from API machinery for http calls inside kubeadm

**What this PR does / why we need it**:
Default Go HTTP transport does not allow to use CIDR notations in
NO_PROXY variables, thus for certain HTTP calls that is done inside
kubeadm user needs to put explicitly multiple IP addresses. For most of
calls done via API machinery it is get solved by setting different Proxy
resolver. This patch allows to use CIDR notations in NO_PROXY variables
for currently all other HTTP calls that is made inside kubeadm.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes kubernetes/kubeadm#324

**Special notes for your reviewer**:
Based on discussion in #52788, replacing this patch replacing all calls inside kubeadm that are done via DefaultTransport to explicitly defined and initialized with API machinery defaults Transport and http client.

**Release note**:
```release-note
- kubeadm now supports CIDR notations in NO_PROXY environment variable
```
2018-01-19 16:48:06 -08:00
..
BUILD Merge pull request #53895 from kad/kubeadm-proxy-transports 2018-01-19 16:48:06 -08:00
clientbacked_dryrun.go remove duplicated import 2018-01-17 09:34:59 +08:00
dryrunclient_test.go Switching to rbac/v1 2017-09-24 10:47:29 -04:00
dryrunclient.go Improve error messages and comments in KubeAdm. 2017-12-14 11:11:58 -08:00
idempotency.go Use apps/v1 API in kubeadm. 2017-12-19 11:44:19 +08:00
init_dryrun_test.go Switching to rbac/v1 2017-09-24 10:47:29 -04:00
init_dryrun.go kubeadm: Adds dry-run support for kubeadm using the '--dry-run' option 2017-08-18 16:05:12 +03:00
wait.go Merge pull request #53895 from kad/kubeadm-proxy-transports 2018-01-19 16:48:06 -08:00