Repository navigation
ClusterTool v5 - Native Talos configuration, flexible bootstrap and Flux Operator
ClusterTool v5 replaces Talhelper with native Talos machine configuration and introduces a single-cluster repository layout, configurable application bootstrap, Flux Operator and Helm 4 integration. This release also adds support for GitLab and self-hosted Git repositories, Envoy Gateway, binary SOPS files, and additional application templates.
Breaking changes - read before upgrading
ClusterTool v5 changes Talos configuration, repository layout, bootstrap configuration, storage paths and Git settings. There is no automatic migration. Review the generated configuration and back up persistent data before using v5 with existing infrastructure. A fresh cluster bootstrap is strongly recommended.
- Talos configuration: Talhelper-based configurations cannot be used unchanged. v5 generates native Talos 1.14 machine configuration from
talos/clustertool.yaml. - Repository layout: ClusterTool now supports one cluster per repository. The
--clusterselector andclusters/<cluster>/directory layer are removed. Existing layouts are not migrated automatically. - Bootstrap settings: New bootstraps and confirmed resumes require
bootstrap.crdandbootstrap.stepsintalos/clustertool.yaml. - Storage: Talos user volumes use directory paths. Longhorn and OpenEBS now use
/var/mnt/longhornand/var/mnt/openebs. Changing these paths does not move or migrate existing data. - Git repository setting: New cluster configuration uses
GIT_REPOSITORYinstead ofGITHUB_REPOSITORY. GitHub, GitLab and self-hosted Git repositories are supported. - Ingress: The supplied ingress-nginx configuration is replaced by Envoy Gateway and Gateway API. Use
ENVOY_INTERNAL_IPandENVOY_EXTERNAL_IPinstead of the oldNGINX_*settings. - Shared settings:
cluster-settings.sops.yamlis replaced bykubernetes/config/cluster-secrets.sops.yaml.
Keep cluster secrets and the SOPS age key, and verify that persistent data backups can be restored before changing storage configuration.
Flexible application bootstrap
Bootstrap is configured through two ordered lists in talos/clustertool.yaml:
bootstrap.crdselects HelmRelease resources whose CRDs are applied before Cilium and the kubelet CSR approver.bootstrap.stepsselects chart and manifest steps run after base charts, node readiness, namespace creation and base health checks.
Chart entries refer to HelmRelease metadata.name and use the configured chart version and values. Manifest entries refer to paths relative to the repository root. Steps run in order and stop at the first error. Chart steps wait for resource readiness and completed Jobs by default, with a 15-minute timeout; wait: false skips those waits while Helm hooks retain their own behavior.
The supplied configuration applies kube-prometheus-stack CRDs early, then prepares secrets, infrastructure and restore operators before installing Flux Operator and FluxInstance. FluxInstance uses wait: false, so Flux continues deployment in the background.
These lists run only during initial bootstrap or a confirmed resume. Ordinary talos apply operations do not rerun bootstrap steps, and bootstrap completion does not mean that Flux reconciliation or application restores have finished.
One cluster per repository
- Store Talos configuration in
talos/and Kubernetes resources underkubernetes/config/,kubernetes/repositories/,kubernetes/flux-entry/andkubernetes/apps/. - Set the Talos cluster name with
clusterNameintalos/clustertool.yaml, independently of repository paths. - Store shared settings in
kubernetes/config/cluster-secrets.sops.yaml. - Limit
genkstokubernetes/apps/, leaving optional user components outside its processing scope. - Detect legacy layouts during initialization and stop before modifying them.
Details: #685
Native Talos configuration
- Replace Talhelper with native Talos configuration generation and validation.
- Define cluster name, versions, node roles and management addresses in
talos/clustertool.yaml. - Organize patches into shared, role-specific and node-specific directories, with per-node network settings, installation disks and schematic IDs.
- Validate generated node configurations before applying them.
- Select the alphabetically first control-plane node by name for bootstrap; no manual
bootstrapNodefield is required. - Prepare all configured nodes before bootstrapping the control plane.
- Improve bootstrap recovery and control-plane quorum checks, and warn about schematic mismatches before applying configuration.
Details: #478, #575, #603, #604
Flux Operator bootstrap
- Replace the previous Flux manifest bootstrap with Flux Operator and FluxInstance.
- Install the operator before the instance, with configurable bootstrap steps.
- Support OCIRepository chart references during bootstrap.
- Apply the deploy key and SOPS age-key Secret during bootstrap.
Git providers and gateway
- Support GitLab and self-hosted Git repositories, including SSH host, port and repository path handling.
- Verify unknown self-hosted SSH host keys by fingerprint and reject weak key algorithms.
- Replace ingress-nginx with Envoy Gateway and Gateway API, including separate internal and external Gateways, wildcard TLS, HTTP-to-HTTPS redirects and cert-manager integration.
- Replace the supplied ingress examples with HTTPRoute examples.
Unified settings and improved secret handling
- Use
kubernetes/config/cluster-secrets.sops.yamlfor ClusterTool variables and Flux substitutions, without a generated settings ConfigMap. - Standardize credential filenames on
deploy-key.sops.yamlandsops-age.sops.yaml. - Require quoted numeric and boolean values in settings
stringData. - Respect SOPS
storesandmac_only_encryptedsettings. - Encrypt working-tree files without staging them when running
clustertool encrypt. Already-staged content remains unchanged until the encrypted result is staged. - Improve hook handling of filenames with spaces or non-ASCII characters, staged deletions and missing working copies; abort commits if staging encrypted results fails.
- Add encryption and decryption support for binary files, including files with unknown or no extension.
- Validate SOPS regular expressions and use the appropriate parsers for YAML, JSON, dotenv and INI.
- Run an optional
.git/hooks/pre-commit.localafter encryption checks, preserving custom checks when ClusterTool regenerates its hook.
Details: #494, #492, #642, #783, #781
Included application templates
- Add CloudNativePG and the Barman Cloud plugin configuration.
- Add a Valkey Operator HelmRelease and namespace.
- Add Envoy Gateway and Gateway API resources to the default application templates.
- Update included Helm charts and supporting components to current versions.
Configuration commands and reliability
- Use
genks, also available askustomizations, to generate missing Kustomization files. - Use
githookto reinstall the encryption pre-commit hook after switching environments. - Confirm before repeating completed initialization and preserve retry state when initialization fails.
- Report hook installation errors and warn when hook creation is skipped outside a Git repository.
- Respect
KUBECONFIGconsistently in Kubernetes clients. - Align Helm's field manager with Flux to avoid competing ownership of managed fields.
- Remove obsolete bundled bootstrap value overrides so monitoring resources can be enabled in the default Cilium and kubelet CSR approver installs.
- Make HelmRelease drift detection optional in the supplied Flux entry configuration. Set its mode to
warnto report drift orenabledto correct it.
Details: #501, #637, #824, #825, #832
Helm 4 integration
- Migrate the Helm SDK to Helm 4.
- Enable server-side apply for new installations.
- Use the Helm 4 status watcher when waiting for resource readiness.
- Expose internal Helm logs through ClusterTool's configured log level, including
LOGLEVEL=debug.
Details: #502
Testing and release improvements
Improve HelmRelease deployment tests with OCI chart resolution and dependency handling. Additional work covers bootstrap timeouts, Windows pre-commit hooks, SOPS path and format handling, concurrent chart downloads, shared HelmRelease defaults and explicit namespace declarations. Release archives now include build metadata and use ZIP archives for Windows.