feat(k3s_upgrade): regenerate service files from templates instead of restoring backups (#474)

* feat(k3s_upgrade): regenerate service files from templates instead of restoring backups

The k3s_upgrade role previously restored backup service files after binary
upgrade, which meant any changes to extra_server_args or extra_agent_args
would not be applied during upgrades.

This change:
- Replaces backup restoration with template-based service file regeneration
- Reuses templates from k3s_server role via symlink
- Adds necessary defaults for template variables

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
Aleksei SviridkinandClaude authored and GitHub committed 2025-12-11 10:54:58 -08:00
1 parent 53c35bac5f
commit 49b810c948
3 files changed
+87 -33

No files matched your search

+1
View File
@@ -0,0 +1 @@
../k3s_server/templates