• Kubernetes Submit Queue's avatar
    Merge pull request #53895 from kad/kubeadm-proxy-transports · 4b41a54e
    Kubernetes Submit Queue authored
    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
    ```
    4b41a54e
Name
Last commit
Last update
..
app Loading commit data...
test Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
kubeadm.go Loading commit data...