docs(skills): add lessons from a real talhelper migration - #132
Merged
clementnuss merged 1 commit intoSep 4, 2026
Merged
Conversation
…talhelper-to-topf Learned migrating a two-node Talos v1.13.8 cluster (NAT'd worker, Argo CD bootstrapped via inlineManifests) and verified against the last talhelper render: - drop the stale "no v1.14 multi-doc support" claim; keep "migrate on the running format, upgrade later" for the zero-diff reason - new verify step: diff `talhelper genconfig` against `topf render`, check `topf schematic-ids`, read `topf apply --dry-run` as a textual diff (document order shows up, and so does never-applied talhelper drift) - gotchas: hostname is not derived from `host`; `inlineManifests[].contents: "@./file"` has no include equivalent (wrap via yq, or vals ref+file:// with redaction caveat); `skipEnvsubst` is moot; `.tpl` parses YAML comments; role-level schematics and node overrides -> one templated schematic; keyed lists still merge across scopes; TOPF dials each node directly, no apid proxying - secrets hygiene: `.sops.yaml` rule encrypting only `data`, `sops set` move without plaintext on disk, `.gitignore` clusterconfig/ -> output/ - field-mapping: inlineManifests include note, role schematics row, hostname row Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
BjarneSeger
marked this pull request as ready for review
September 4, 2026 18:01
clementnuss
reviewed
Sep 4, 2026
clementnuss
approved these changes
Sep 4, 2026
Contributor
|
thanks @BjarneSeger, the hostanem and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improves
skills/migrate-talhelper-to-topfwith what a real migration hit that the skill did not cover. Verified on a two-node Talos v1.13.8 cluster (public control plane, NAT'd worker, Argo CD bootstrapped throughcluster.inlineManifests), comparingtopf renderagainst the lasttalhelper genconfigdocument by document.topf schematic-ids, and how to readtopf apply --dry-run(textual diff, so document order and never-applied talhelper drift both show up).host(first apply renames nodes);inlineManifests[].contents: "@./file"includes andskipEnvsubst(wrap via yq, or valsref+file://with the redaction caveat);.tplfiles parse YAML comments; role-levelschematicblocks and node overrides; keyed lists merging across scopes; direct per-node dialing, no apid proxying..sops.yamlrule encrypting onlydata,sops setmove without plaintext on disk,.gitignoreclusterconfig/->output/.field-mapping.md: inlineManifests include note, role schematic row, hostname row, template/comment note.The pre-existing markdownlint findings in this file (MD029 numbering, MD034, MD040) are untouched; CI lints
docs/only.🤖 Generated with Claude Code
Sorry, claude auto mode was a bit ambitious
TL;DR:
This PR still includes some nice findings for making the migration a bit more "reliable"