Closed SwaggaRitz closed 2 years ago
Thanks - this fix worked for me after I experienced the same issue when setting k3s to v1.24.2+k3s2.
Cool, yes I got to the same conclusion as part of my second takeaway "k3s Auto Deploy on boot directory is /var/lib/rancher/k3s/server/manifests whtever yaml we throw here will be deployed. There is one caveat though, filenames can't contain dots before the dotted yaml file extension. example."
I also created a fix for the token that somehow for the newest releases of k3s the manual entry on the group_vars/all.yaml wasn't working. This new version doesn't require token at all it's all dynamic.
Let me know if you want me to send a PR here.
Thanks!
Thank you so much! Good find!
Proposed Changes
I found on v1.24.2+k3s2 any manifest files that had a double extension foo.bar.yaml would not get picked up. I was alerted to this by Kube-VIP not starting due to a missing service account and role binding. Changing the '.' to '-' fixed the issue. I have also run this on the previous K3s to ensure it still works.
Checklist
site.yml
playbookreset.yml
playbook