Skip to content
Unverified Commit 1c5391dd authored by Etienne Champetier's avatar Etienne Champetier Committed by GitHub
Browse files

Ensure kubeadm doesn't use proxy (#7275)



* Move proxy_env to kubespray-defaults/defaults

There is no reasons to use set_facts here

Signed-off-by: default avatarEtienne Champetier <e.champetier@ateme.com>

* Ensure kubeadm doesn't use proxy

*_proxy variables might be present in the environment (/etc/environment, bash profile, ...)
When this is the case we end up with those proxy configuration in /etc/kubernetes/manifests/kube-*.yaml manifests

We cannot unset env variables, but kubeadm is nice enough to ignore empty vars
https://github.com/kubernetes/kubernetes/blob/93d288e2a47fa6d497b50d37c8b3a04e91da4228/cmd/kubeadm/app/util/env.go#L27



Signed-off-by: default avatarEtienne Champetier <e.champetier@ateme.com>
parent f2d10e94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment