c12s-kubespray/roles/kubernetes/control-plane/tasks
Etienne Champetier 1c5391dda7
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: Etienne 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
93d288e2a4/cmd/kubeadm/app/util/env.go (L27)

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
2021-02-16 08:44:58 -08:00
..
encrypt-at-rest.yml Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00
kubeadm-certificate.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00
kubeadm-cleanup-old-certs.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00
kubeadm-etcd.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00
kubeadm-fix-apiserver.yml Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
kubeadm-migrate-certs.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00
kubeadm-secondary.yml Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
kubeadm-setup.yml Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
kubeadm-upgrade.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00
kubeadm-version.yml Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
main.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00
pre-upgrade.yml Move kubernetes/master to kubernetes/control-plane (#7218) 2021-02-01 07:15:49 -08:00