Skip to content

clustertool(refactor): bootstrap Flux with Flux Operator and FluxInstance - #480

Merged
alfi0812 merged 16 commits into
trueforge-org:mainfrom
Boemeltrein:main
Sep 14, 2026
Merged

alfi0812 merged 16 commits into
trueforge-org:mainfrom
Boemeltrein:main

Conversation

@Boemeltrein

@Boemeltrein Boemeltrein commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Description

Replace the old Flux manifest bootstrap with Flux Operator and FluxInstance.

  • Reuse InstallCharts() to install the operator first with Helm waiting enabled, then the instance.
  • Extend the existing repository parser to read OCIRepository chart references and tags.
  • Apply the deploy key and SOPS age key during Flux bootstrap only; keep the age key out of Git and generated Kustomizations.
  • Use the new template paths and cluster/repository placeholders, preserving the explicit operator dependency and existing cluster-settings location.

No separate healthcheck layer or Git-reconciliation wait is added.

Validation: existing Go tests (including Talos integration), Windows build, chart-source loading for Cilium and Flux, and Kustomize checks passed locally. Live cluster testing worked
⚒️ Fixes #

⚙️ Type of change

  • 🆕 New feature (e.g., bootstrap, cluster config, or automation)
  • 🐛 Bugfix (e.g., node setup, config generation)
  • 🔃 Chart Updates/Changes included with clustertool
  • 🔃 Refactor (internal changes, no functional impact)
  • ⚠️ Breaking change (changes Talos cluster behavior)

🧪 How Has This Been Tested?

  • Run clustertool commands locally
  • Verified cluster bootstrap on Talos nodes
  • Checked generated configs are valid
  • Validated cluster state after changes

📃 Notes:

✔️ Checklist:

  • ⚖️ Followed project style and contribution guidelines
  • 👀 Self-reviewed my changes
  • 🧪 Documented testing steps
  • 🏷️ PR title follows convention:
    • feat(clustertool):
    • fix(clustertool):
    • chore(clustertool):

Please don't blindly check all the boxes. Read them and only check those that apply.
Those checkboxes are there for the reviewer to see what is this all about and
the status of this PR with a quick glance.

@Boemeltrein
Boemeltrein marked this pull request as ready for review September 14, 2026 19:08
@alfi0812
alfi0812 merged commit 83ab5ad into trueforge-org:main Sep 14, 2026
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant