Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The example code for generating a random kubeadm token in the README.md is wrong #11

Open
williamstein opened this issue Jun 1, 2017 · 1 comment

Comments

@williamstein
Copy link

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants