You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The included HelmReleases repeat shared operational settings, making consistent configuration harder to maintain. These settings can be applied centrally through Flux patches.
Solution
Add shared HelmRelease policies through flux-entry, inherited by child Kustomizations.
Configure CreateReplace for CRDs, RetryOnFailure for installation, and RemediateOnFailure with two retries for upgrades.
Enable cleanup on failed upgrades and rollbacks.
Apply drift detection in warn mode through a separate patch.
Allow releases to opt out of shared policies or drift detection independently using labels.
Set all 23 HelmRelease reconciliation intervals to 1h.
Remove explicit chart intervals so they inherit the HelmRelease interval.
Remove redundant per-release settings and use Flux defaults for the remaining options.
Replace the global DefaultToRetryOnFailure feature gate with explicit per-release strategies.
Set the Flux distribution artifact reconciliation interval to 1h.
⚙️ 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)
Checked generated configs are valid through offline Kustomize rendering
Validated cluster state after changes
Passed go test ./pkg/fluxhandler ./pkg/initfiles.
Validated all 23 HelmReleases across 92 rendered policy and opt-out combinations.
Verified inherited SOPS configuration, substitutions and resource names are preserved.
Verified chart intervals are omitted and all HelmRelease intervals remain 1h.
Passed git diff --check.
Live cluster validation is pending.
📃 Notes:
This intentionally standardizes Flux behavior. Removed overrides for timeout, history, namespace creation, install remediation and uninstall history now use Flux defaults.
The distribution artifact interval controls checks for Flux's own distribution manifests and is separate from Git synchronization.
✔️ Checklist:
⚖️ Followed project style and contribution guidelines
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
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
The included HelmReleases repeat shared operational settings, making consistent configuration harder to maintain. These settings can be applied centrally through Flux patches.
Solution
flux-entry, inherited by child Kustomizations.CreateReplacefor CRDs,RetryOnFailurefor installation, andRemediateOnFailurewith two retries for upgrades.warnmode through a separate patch.1h.DefaultToRetryOnFailurefeature gate with explicit per-release strategies.1h.⚙️ Type of change
🧪 How Has This Been Tested?
Run clustertool commands locally
Verified cluster bootstrap on Talos nodes
Checked generated configs are valid through offline Kustomize rendering
Validated cluster state after changes
Passed
go test ./pkg/fluxhandler ./pkg/initfiles.Validated all 23 HelmReleases across 92 rendered policy and opt-out combinations.
Verified inherited SOPS configuration, substitutions and resource names are preserved.
Verified chart intervals are omitted and all HelmRelease intervals remain
1h.Passed
git diff --check.Live cluster validation is pending.
📃 Notes:
This intentionally standardizes Flux behavior. Removed overrides for timeout, history, namespace creation, install remediation and uninstall history now use Flux defaults.
The distribution artifact interval controls checks for Flux's own distribution manifests and is separate from Git synchronization.
✔️ Checklist:
feat(clustertool):fix(clustertool):chore(clustertool):