flux-operator + FluxInstance instead of the patched install.yaml (c1) #22
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
lab/machine-configs#22
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of lab/machine-configs#7. Do this as part of #14 (the c1 rebuild).
Why
modules/k3s/flux.nixinstalls Flux from the pinned releaseinstall.yamland patches the text:b939e24(#11), asedrewrites the hardcoded.svc.cluster.localfor clusters withcluster.zoneset. Without it, kustomize-controller can't resolve source-controller.The flux-operator (controlplaneio-fluxcd) with a
FluxInstanceresource turns both into settings:spec.cluster.domain, and charts that ship without those NetworkPolicies. It also gives an upstream-supported upgrade path, with no bundle parsing at render time. This was deferred indocs/niki-nixos-k3s-study.md("redesign of fluxRootManifest mid-migration"). c1 is a fresh cluster with no Flux to migrate, so that reason no longer applies.What
FluxInstancefrom the k3s manifests dir for c1, withcluster.domain = c1.caosh.int.animeteamspeak.moe.clusters/<cluster>) and the sops-age secret handling as they are.test.caosh.int.animeteamspeak.moe).cluster.localsed and the NetworkPolicy filter once no cluster uses the bundle path.Done when
e236c68on main: cluster.fluxInstaller = bundle | operator (flux-operator 0.62.1 + FluxInstance with cluster.domain from the zone, networkPolicy false; our GitRepository/Kustomization tail kept for sparse ignore + SOPS). test-01 on operator: full vm:e2e green 2026-11-11 (flux controllers rendered by the operator, podinfo delivered, Cilium adopted). Fleet unchanged (bundle default). Box 1 done, box 3 done for now (bundle path left only for the old think cluster); box 2 closes when c1 bootstraps this way at #14.Done: c1 bootstrapped Flux via flux-operator + FluxInstance (cluster.domain c1.caosh...) at #14, 2026-11-12. Bundle path remains only as the option default for clusters not yet moved.