Open GitHanter opened 3 weeks ago
You always have to provide a token in the inventory.yaml, PR #356 didn't change that requirement. What exactly is the error you are seeing.
You always have to provide a token in the inventory.yaml, PR #356 didn't change that requirement. What exactly is the error you are seeing.
I provided the token in the inventory.yaml
, but it doesn't work. I have to append the --token
parameter to the systemd service again ExecStart=/usr/local/bin/k3s server --cluster-init --data-dir {{ k3s_server_location }} --token {{ token }} {{ extra_server_args }}
, which was deleted in the PR, then everything works.
Airgap install throws token must not be empty
Seems the latest security fix by "using K3S_TOKEN environment variable " commit caused this issue Security exposure related to the token (https://github.com/k3s-io/k3s-ansible/pull/356)