Error: unknown flag: --config
mweissdigchg opened this issue · 1 comments
mweissdigchg commented
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 commented
Same error with v1.23.17+k0s.1