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

k3s token CLI tool has a confusing description #11674

Open
manuelbuil opened this issue Jan 28, 2025 · 0 comments
Open

k3s token CLI tool has a confusing description #11674

manuelbuil opened this issue Jan 28, 2025 · 0 comments
Assignees

Comments

@manuelbuil
Copy link
Contributor

Environmental Info:
K3s Version:

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

The k3s CLI tool outputs the following when using --help:

NAME:
   k3s token - Manage bootstrap tokens

USAGE:
   k3s token command [command options] [arguments...]

COMMANDS:
   create    Create bootstrap tokens on the server
   delete    Delete bootstrap tokens on the server
   generate  Generate and print a bootstrap token, but do not create it on the server
   list      List bootstrap tokens on the server
   rotate    Rotate original server token with a new bootstrap token

OPTIONS:
   --help, -h  show help

4 of the listed actions (create, delete, generate and list) relate to bootstrap tokens. However, the action "rotate" does not. This actions rotate the server token, which has nothing to do with the bootstrap tokens.

Therefore, there are two wrong sentences there:
1 - k3s token - Manage bootstrap tokens ===> Not 100% correct because rotate has nothing to do with bootstrap tokens
2 - rotate Rotate original server token with a new bootstrap token ===> This is wrong because it does not create a new bootstrap token

Steps To Reproduce:

  • Installed K3s:

Execute k3s token and read the description

Expected behavior:

Actual behavior:

Additional context / logs:

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

No branches or pull requests

1 participant