diff --git a/files/kubeadm-1-7-0-race-condition-workaround.sh b/files/kubeadm-1-7-0-race-condition-workaround.sh new file mode 100644 index 0000000..c0fa462 --- /dev/null +++ b/files/kubeadm-1-7-0-race-condition-workaround.sh @@ -0,0 +1,54 @@ +cat < /etc/bash_completion.d/kubectl when: kubectl_bash_completion.stat.exists == False + +- name: Workaround kubeadm 1.7.0 race condition, see https://github.com/kubernetes/kubeadm/issues/335 + script: kubeadm-1-7-0-race-condition-workaround.sh