c12s-kubespray/roles
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
..
adduser Fix nologin wrong path (#6272) 2020-06-16 02:30:04 -07:00
bastion-ssh-config Use connection: local when delegate_to: localhost (#6322) 2020-06-25 08:14:38 -07:00
bootstrap-os bootstrap-os: match on os-release ID / VARIANT_ID (#7269) 2021-02-11 08:14:16 -08:00
container-engine Fixup cri-o metacopy mount options (#7287) 2021-02-15 20:51:07 -08:00
download Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
etcd Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00
etcdctl Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00
kubernetes Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
kubernetes-apps write openstack controller manifests with correct perms (#7284) 2021-02-15 00:53:05 -08:00
kubespray-defaults Ensure kubeadm doesn't use proxy (#7275) 2021-02-16 08:44:58 -08:00
network_plugin Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00
recover_control_plane Move recover_control_plane/master to control-plane (#7236) 2021-02-03 02:06:29 -08:00
remove-node Remove ignore_errors from drain tasks and enable retires (#7151) 2021-01-15 13:17:43 -08:00
reset Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00
upgrade Add retries to drain during upgrade. Allow leaving nodes cordoned after drain failure. Allow continuing upgrade if drain fails. (#7206) 2021-01-26 11:10:31 -08:00
win_nodes/kubernetes_patch Cleanup old checks for k8s 1.18 (#7192) 2021-01-19 08:43:45 -08:00