Skip to content

fix(clustertool): declare HelmRelease dependencies for configuration charts - #714

Merged
Boemeltrein merged 1 commit into
codex/bootstrap-refactorfrom
codex/helmrelease-dependencies
Nov 7, 2026
Merged

Boemeltrein merged 1 commit into
codex/bootstrap-refactorfrom
codex/helmrelease-dependencies

Conversation

@Boemeltrein

Copy link
Copy Markdown
Member

Description

Add HelmRelease dependencies so Flux waits for the required controller release to become Ready before reconciling its configuration chart:

  • clusterissuer depends on cert-manager in namespace cert-manager.
  • metallb-config depends on metallb in namespace metallb.

ClusterTool's configured bootstrap order remains unchanged.

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

Validated both source templates and generated YAML using the existing generation code in a temporary directory. Confirmed dependency names and namespaces match the target HelmReleases and that the bootstrap parser accepts the updated files. git diff --check passed.

No live cluster test was performed for this change.

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

📃 Notes:

🤖 This PR is AI generated.

✔️ Checklist:

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

@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 907f60d3-7d18-4ae0-9ea5-5752fb3441a4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Boemeltrein
Boemeltrein merged commit 4197a0e into codex/bootstrap-refactor Nov 7, 2026
6 checks passed
@Boemeltrein
Boemeltrein deleted the codex/helmrelease-dependencies branch November 7, 2026 19:28
@trueforge-bot

trueforge-bot Bot commented Nov 7, 2026

Copy link
Copy Markdown

🚀 HelmRelease CI Report

Overall Status

Stage Result
🔍 Detect HelmReleases success
🧪 Helm Tests failure

🧪 HelmReleases Tested

embed/generic/kubernetes/apps/system/clusterissuer/app/helm-release.yaml
embed/generic/kubernetes/apps/system/metallb-config/app/helm-release.yaml


⏭️ HelmReleases Skipped

none


Result

❌ One or more HelmRelease tests failed\n\nCheck workflow logs for details.

Boemeltrein added a commit that referenced this pull request Nov 7, 2026
* feat(clustertool): add configurable bootstrap steps (#711)

* feat(clustertool): add configurable bootstrap steps

Run ordered CRD, manifest and chart steps from clustertool.yaml after fixed base preparation. Separate cluster configuration and Helm handling while retaining the standalone Flux bootstrap command.

* feat(clustertool): unify bootstrap steps with configurable waiting

Use one ordered bootstrap list with explicit chart, crd and manifest actions. Validate step fields and support wait: false for charts, including the default FluxInstance step.

* bootstrap: clusterissuer wait false

* apply help change

* fix(clustertool): clarify bootstrap errors and preserve source lines

* fix(clustertool): show Flux guidance after bootstrap

* log tuning (#712)

* some movements, no core folder anymore

* feat(helmrelease): add dependsOn field for clusterissuer and metallb-config (#714)

* fix(ci): update skipList to reference correct clusterissuer path

* refactor(bootstrap): remove Retry field from HelmChart and enforce explicit bootstrap list
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