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

making sure that token create and list are accepting only controller and worker role #914

Merged
merged 2 commits into from
May 31, 2021

Conversation

jasmingacic
Copy link
Contributor

Ensuring that token create/list --role parameter can only accept values worker or controller.

@jasmingacic jasmingacic requested a review from a team as a code owner May 20, 2021 13:19
…and worker role

Signed-off-by: Jasmin Gacic <jgacic@mirantis.com>
cmd/token/list.go Outdated Show resolved Hide resolved
cmd/token/create.go Outdated Show resolved Hide resolved
pkg/token/kubeconfig.go Outdated Show resolved Hide resolved
pkg/token/kubeconfig.go Outdated Show resolved Hide resolved
Signed-off-by: Jasmin Gacic <jgacic@mirantis.com>
@jasmingacic jasmingacic merged commit b81edf3 into k0sproject:main May 31, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants