feat: add support for v1.14 config documents - #128
Conversation
|
this is still very much a draft. I just let GLM 5.3 try its best; code quality is likely not up to standards 😅 |
|
I think we should try to provide some more templating attributes for nodes: something like |
b61bd0d to
7022cbc
Compare
|
Ran topf 0.6.0-rc.0 / Talos 1.14.0-rc.2 against a 4-node IPv6 cluster (3 control planes + 1 worker), migrating every v1alpha1 field to documents. Two topf issues, one upstream note. 1. Empty Rendered: kind: UnattendedInstallConfig
installer:
image: factory.talos.dev/metal-installer/…:v1.14.0-rc.2
provisioning: {}
provisioning:
diskSelector:
match: disk.dev_path == "/dev/sda"
wipe: falseRelated: the document defaults 2. Upstream, not topf: the error says Rest of the migration was clean. |
|
really cool feedback, thanks. I will try to fix the 2 issues you mention later this week. as for .Node.RuntimeData, the use case is handling clusters with heterogeneous node versions but a single config repository/folder. we will add a template function to decide whether a certain file should render based on the talos version. might not be useful for a home lab but as we run clusters in production with >100 nodes, we need a way to be able to keep running but overall really happy that you managed to upgrade everything without more hiccups, that's a good validation of our config model: just forwarding the upstream config documents is the only way forward. |
|
Migration worked perfectly on my part. No issue to report at the moment. |
972faea to
18f8407
Compare
chore: remove unattended_install test chore: polish/remove comments chore: remove llm-generated test build: bump go mods and fix TODOs :)
…ing public key material fix: keep kubeVersion field optional
c389aae to
5ea1693
Compare
|
was more effort than anticipated but that's done! here's an example config migration: clementnuss/k8s-gitops@ba92108 |
closes #127