Repository navigation
feat(clustertool)!: remove the cluster selector - #666
Merged
Boemeltrein merged 2 commits intoNov 2, 2026
Merged
Conversation
BREAKING CHANGE: ClusterTool no longer accepts the cluster selector and uses clusters/main. Existing initialization safeguards are retained.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
🚀 HelmRelease CI ReportOverall Status
🧪 HelmReleases Tested⏭️ HelmReleases SkippedResultℹ️ No HelmReleases required testing |
Boemeltrein
marked this pull request as draft
November 1, 2026 20:43
Boemeltrein
marked this pull request as ready for review
November 2, 2026 17:18
Boemeltrein
added a commit
that referenced
this pull request
Nov 4, 2026
* feat(clustertool)!: remove the cluster selector (#666) BREAKING CHANGE: ClusterTool no longer accepts the cluster selector and uses clusters/main. Existing initialization safeguards are retained. * feat(clustertool)!: adopt the single-cluster repository layout (#669) * feat(clustertool)!: adopt the single-cluster repository layout * clean up * apps move into sub folder * fix: update HelmRelease paths to reflect new directory structure under 'apps' * fix: simplify resource exclusion logic in kustomization.yaml processing * refactor: replace ioutil with os package for file operations in kustomizations.go * delete: remove repository_layout_test.go file * feat(clustertool)!: read the Talos cluster name from configuration (#676) * feat(clustertool)!: read the Talos cluster name from configuration * feat(clustertool): rename file multinode to generate * idem * fix(clustertool): detect the previous native Talos layout during init (#683) * fix(clustertool): set namespaces on Flux Kustomizations (#684) * fix(clustertool): exclude age secret from generated Flux resources * fix(clustertool): exclude age secret from generated Flux resources (#686) * zucht
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.
BREAKING CHANGE: ClusterTool no longer accepts the cluster selector and uses clusters/main. Existing initialization safeguards are retained.
Description
Remove the global
--clusterselector as the first step toward one cluster per repository. ClusterTool now uses the existingclusters/maindefaults.Remove the flag registration and the early argument parsing and path reassignment from
root.go. Update the CLI examples and documentation, and simplify the existing initialization tests to use the fixed default path.Initialization safeguards remain intact, including rejecting legacy Talhelper configuration before decryption, with and without
RUNAGAIN. The existing defaults inpkg/helper/vars.goare unchanged.This PR targets
codex/single-cluster-structure. Directory restructuring and thegenksrewrite will be handled in separate PRs.⚙️ Type of change
🧪 How Has This Been Tested?
Passed on Windows with Go 1.27.0:
go test -mod=readonly ./cmd ./pkg/helper ./pkg/initfiles ./pkg/talosconfig ./pkg/gencmdgofmt, preserving existing line endings.git diff --checkThe command tests exercise Cobra through subprocesses. Standalone CLI execution, Linux tests, the optional Talos generation integration test, and live cluster validation were not performed.
📃 Notes:
--clusteroption from ClusterTool invocations. Selecting other cluster directories is no longer supported.🤖 This PR is AI generated.
✔️ Checklist:
feat(clustertool):fix(clustertool):chore(clustertool):