onedr0p-style migration: talos + bootstrap (just + minijinja + vals) - #877
Merged
Conversation
Stage 1 of migrating to onedr0p's minimalistic structure: a just +
minijinja-cli + vals render path for talos/, alongside the existing
talhelper setup (kept as a fallback until bootstrap is migrated).
- .justfile with `mod talos`; talos/mod.just recipes (render-config,
apply-node, upgrade-node/-k8s, reboot/shutdown/reset, download-image)
- talos/machineconfig.yaml.j2 + nodes/talos-{1,2,3}.yaml.j2 +
schematic.yaml.j2; secrets injected from 1Password (Home-Lab/talos)
via ref+op:// resolved by vals
- tooling: just, minijinja, vals, gum in .mise.toml; .minijinja.toml;
gitignored .secrets.env (+ .example)
- recipes use temp files (not <() process substitution) for Windows
git-bash compatibility with native binaries
Verified: renders byte-identical to the live talhelper-generated config
for all 3 nodes, passes talosctl validate, and a live --dry-run on
talos-3 shows only cosmetic document ordering (no functional change).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…sword Stage 2 of the onedr0p migration. Reconciles the committed bootstrap scaffolding with Stage 1 (talos) and wires it end-to-end. - .justfile: register `mod bootstrap` - bootstrap/mod.just: `talos` stage iterates node names from talos/nodes/*.yaml.j2 and calls `just --yes talos apply-node <name> --insecure` (was passing IPs, incompatible with Stage 1's name->IP map); `crds` stage filters CRDs with yq - bootstrap/resources.yaml.j2: op://kubernetes/* -> ref+op://Home-Lab/*, namespace external-secrets -> security, stringData -> data (byte-exact base64), drop redundant cloudflare secret (ESO seeds it post-bootstrap) - bootstrap/helmfile.d/00-crds.yaml: drop `postRenderer: bash` (Helm 4 rejects it; CRD filtering moved into the recipe) - docs: add bootstrap/AGENTS.md + update CLAUDE.md Bootstrap Operations Secrets migrated to 1Password Home-Lab (1password, sops items) from the live cluster. Validated offline: helmfile template (108 app resources, 145 CRDs), kustomize namespaces, vals round-trip byte-matches live. Live bootstrap is DR-only and was not run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Complete migration to onedr0p/home-ops-style structure: root
.justfilewithmodmodules,minijinja-cli+valstemplates (secrets from 1Password viaref+op://), helmfile-based bootstrap, and full SOPS removal.talos (
feat(talos),chore(talos)).justfile(mod talos) +talos/mod.justwith render-config, apply-node, upgrade-node/-k8s, reboot/shutdown/resettalos/machineconfig.yaml.j2+nodes/talos-{1,2,3}.yaml.j2+schematic.yaml.j2bootstrap (
feat(bootstrap),chore(bootstrap))secrets (
chore(secrets))kubernetes (
chore(kubernetes))🤖 Generated with Claude Code