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

Error: unknown flag: --config #11

Open
mweissdigchg opened this issue Mar 14, 2023 · 1 comment
Open

Error: unknown flag: --config #11

mweissdigchg opened this issue Mar 14, 2023 · 1 comment

Comments

@mweissdigchg
Copy link

mweissdigchg commented Mar 14, 2023

Hi,

the role k0s/initial_controller utilizes the command:
k0s token create --role controller --config {{ k0s_config_dir }}/k0s.yaml

It looks like the flag --config is not valid anymore:

$ k0s token create --role worker --config /etc/k0s/k0s.yaml
Error: unknown flag: --config

Tested with: v1.26.0+k0s.0

The flag is not available in the latest documentation:
https://docs.k0sproject.io/v1.26.2+k0s.1/cli/k0s_token_create/

Update:
Same for role k0s/worker
k0s install worker --config {{ k0s_config_dir }}/k0s.yaml --token-file {{ k0s_config_dir }}/worker-token {{ extra_args | default(omit) }}

--config flag was removed: https://docs.k0sproject.io/v1.26.2+k0s.1/cli/k0s_install_worker/

@danielefranceschi
Copy link
Contributor

Same error with v1.23.17+k0s.1

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