k3s-io / k3s-ansible

Apache License 2.0
2.06k stars 818 forks source link

"Merge with any existing kubeconfig on control node" step does not merge with existing kubeconfig actually #350

Open alankan-finocomp opened 3 months ago

alankan-finocomp commented 3 months ago

https://github.com/k3s-io/k3s-ansible/blob/master/roles/k3s_server/tasks/main.yml#L163-L164

Since the existing config file was not in scope, the commands did not perform anything.

antempus commented 3 months ago

I'm finding that it's not even copying the kubeconfig if there isn't an existing config