[dev branch] kubeadm template depends on kubeadm token which gets created after template is rendered
Closed this issue · 2 comments
alexbrand commented
The kubeadm.conf template contains the kubeadm token, but it looks like the token is no longer generated before the template is rendered.
Changeset of interest: fc7cce9
TASK [kubernetes-master : drop kubeadm template] ************************************************************************************************************************************************************************************************************
fatal: [master-0 -> 54.202.136.38]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'generated_token' is undefined"}
alexbrand commented
@craigtracey I am seeing that kubeadm v1.12 creates the token when calling kubeadm init
, which makes me think we can revert fc7cce9?
craigtracey commented
I believe this is already addressed.