This happens when you’ve already added a node with the same name before.

kubectl -n kube-system delete secrets <agent-node-name>.node-password.k3s