The example code for generating a random kubeadm token in the README.md is wrong
williamstein opened this issue · 1 comments
williamstein commented
If you generate a few dozen tokens using it, you'll find some don't satisfy the regular expression '[a-z0-9]{6}.[a-z0-9]{16}', which kubeadm tokens should satisfy.
https://kubernetes.io/docs/admin/kubeadm/
which says " The token must be of the format [a-z0-9]{6}.[a-z0-9]{16}. A compatible random token can be generated kubeadm token generate."
stevesloka commented
Thanks @williamstein its an artifact of me not properly maintaining this repo. Kubeadm has changed a bunch since I first wrote this. I do want to get it up to date, so will take that on and get this improved.