Skip to content

fix(clustertool): align Flux Kustomization defaults and add missing namespaces - #620

Merged
Boemeltrein merged 3 commits into
mainfrom
fix/flux-kustomization-defaults
Oct 25, 2026
Merged

Boemeltrein merged 3 commits into
mainfrom
fix/flux-kustomization-defaults

Conversation

@Boemeltrein

@Boemeltrein Boemeltrein commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Description

Standardize reconciliation settings across the supplied Flux Kustomizations and the genks generator, and add missing Namespace resources for bundled applications.

  • Set interval: 1h, retryInterval: 10m, and timeout: 10m.
  • Add Namespace manifests for cert-manager, cloudnative-pg, kubernetes-reflector, and snapshot-controller.
  • Allow individual Kustomizations to opt out of the injected HelmRelease patch list using helmrelease-defaults.flux.home.arpa/disabled: "true", preserving their own spec.patches.
  • Remove an obsolete placeholder comment from the Helm repository Kustomization.

⚙️ 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

Validation performed:

  • Passed go test ./pkg/fluxhandler ./pkg/initfiles.
  • Generated and built manifests from a temporary template copy using the actual configuration renderer, genks functions, and Kustomize.
  • Verified reconciliation settings across all 28 supplied/generated Flux Kustomizations.
  • Confirmed all 23 included HelmReleases have a declared namespace and the four new Namespace manifests are included in generated application builds.
  • Passed git diff --check.

📃 Notes:

Existing ks.yaml files are preserved by genks; the generator defaults apply to newly created files.

The Kustomization opt-out skips both the shared HelmRelease settings and the shared drift-detection setting. No included Kustomization is opted out by default.

✔️ Checklist:

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

@trueforge-bot

trueforge-bot Bot commented Oct 25, 2026

Copy link
Copy Markdown

🚀 HelmRelease CI Report

Overall Status

Stage Result
🔍 Detect HelmReleases success
🧪 Helm Tests skipped

🧪 HelmReleases Tested


⏭️ HelmReleases Skipped


Result

ℹ️ No HelmReleases required testing

@Boemeltrein Boemeltrein changed the title Fix/flux kustomization defaults fix(clustertool): align Flux Kustomization defaults and add missing namespaces Oct 25, 2026
@Boemeltrein
Boemeltrein marked this pull request as ready for review October 25, 2026 20:13
@Boemeltrein
Boemeltrein merged commit 003a950 into main Oct 25, 2026
11 checks passed
@Boemeltrein
Boemeltrein deleted the fix/flux-kustomization-defaults branch October 25, 2026 20:13
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