Repository navigation
chore(clustertool): migrate Helm SDK to v4 - #502
Merged
Merged
Conversation
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.
Description
Migrate ClusterTool's Helm SDK integration to Helm v4.3.0. The dependency was already present, but the implementation still used Helm v3.
autofor upgrades.wait=false.LOGLEVEL=debug.⚙️ Type of change
🧪 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
Passed
go test ./pkg/fluxhandler ./pkg/gencmd ./cmd.Updated existing resume and install-timeout tests for Helm 4, including watcher selection assertions.
Successfully completed bootstrap on a Talos test cluster, including Flux operator and Flux instance installation.
Confirmed server-side apply, watcher readiness completion and Helm debug logging in the output.
Verified resume preserves deployed releases. Deliberately interrupted installations required manual cleanup of pending releases before continuing.
📃 Notes:
The standalone upgrade path currently has no callers in ClusterTool's command flow. It compiles but has not been tested against a live cluster.
Existing pending/failed release handling and unsupported dry-run behavior remain unchanged. No chart, configuration template or CI changes are included.
Post-bootstrap validation confirmed that Flux reconciliation completed
successfully: all Kustomizations and HelmReleases reported Ready=True,
all Deployments, StatefulSets and DaemonSets reached their desired
replica counts, and all pods were running and ready. Flux successfully
upgraded the releases initially installed by ClusterTool to revision 2.
✔️ Checklist:
chore(clustertool):