Skip to content

Releases

clustertool-v5.0.0

Choose a tag to compare

@Boemeltrein Boemeltrein released this 26 Nov 19:55
6492478

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 --cluster selector and clusters/<cluster>/ directory layer are removed. Existing layouts are not migrated automatically.
  • Bootstrap settings: New bootstraps and confirmed resumes require bootstrap.crd and bootstrap.steps in talos/clustertool.yaml.
  • Storage: Talos user volumes use directory paths. Longhorn and OpenEBS now use /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not move or migrate existing data.
  • Git repository setting: New cluster configuration uses GIT_REPOSITORY instead of GITHUB_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_IP and ENVOY_EXTERNAL_IP instead of the old NGINX_* settings.
  • Shared settings: cluster-settings.sops.yaml is replaced by kubernetes/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.crd selects HelmRelease resources whose CRDs are applied before Cilium and the kubelet CSR approver.
  • bootstrap.steps selects 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.

Details: #715, #734

One cluster per repository

  • Store Talos configuration in talos/ and Kubernetes resources under kubernetes/config/, kubernetes/repositories/, kubernetes/flux-entry/ and kubernetes/apps/.
  • Set the Talos cluster name with clusterName in talos/clustertool.yaml, independently of repository paths.
  • Store shared settings in kubernetes/config/cluster-secrets.sops.yaml.
  • Limit genks to kubernetes/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 bootstrapNode field 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.

Details: #480, #715

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.

Details: #820, #763

Unified settings and improved secret handling

  • Use kubernetes/config/cluster-secrets.sops.yaml for ClusterTool variables and Flux substitutions, without a generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Require quoted numeric and boolean values in settings stringData.
  • Respect SOPS stores and mac_only_encrypted settings.
  • 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.local after 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.

Details: #800, #808, #763

Configuration commands and reliability

  • Use genks, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to 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 KUBECONFIG consistently 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 warn to report drift or enabled to 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 a...

Read more

clustertool-v5.0.0-beta.4

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 25 Nov 20:04
11be689

ClusterTool v5 Beta - 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 beta 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 --cluster selector and clusters/<cluster>/ directory layer are removed. Existing layouts, including previous v5 beta layouts, are not migrated automatically.
  • Bootstrap settings: New bootstraps and confirmed resumes require bootstrap.crd and bootstrap.steps in talos/clustertool.yaml.
  • Storage: Talos user volumes use directory paths. Longhorn and OpenEBS now use /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not move or migrate existing data.
  • Git repository setting: New cluster configuration uses GIT_REPOSITORY instead of GITHUB_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_IP and ENVOY_EXTERNAL_IP instead of the old NGINX_* settings.
  • Shared settings: cluster-settings.sops.yaml is replaced by kubernetes/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.crd selects HelmRelease resources whose CRDs are applied before Cilium and the kubelet CSR approver.
  • bootstrap.steps selects 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.

Details: #715, #734

One cluster per repository

  • Store Talos configuration in talos/ and Kubernetes resources under kubernetes/config/, kubernetes/repositories/, kubernetes/flux-entry/ and kubernetes/apps/.
  • Set the Talos cluster name with clusterName in talos/clustertool.yaml, independently of repository paths.
  • Store shared settings in kubernetes/config/cluster-secrets.sops.yaml.
  • Limit genks to kubernetes/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 bootstrapNode field 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.

Details: #480, #715

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.

Details: #820, #763

Unified settings and improved secret handling

  • Use kubernetes/config/cluster-secrets.sops.yaml for ClusterTool variables and Flux substitutions, without a generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Require quoted numeric and boolean values in settings stringData.
  • Respect SOPS stores and mac_only_encrypted settings.
  • 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.local after 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 bundled chart versions, images and Talos/Kubernetes components through the v5 beta development cycle.

Details: #800, #808, #763

Configuration commands and reliability

  • Use genks, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to 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 KUBECONFIG consistently 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.

Details: #501, #637, #824, #825

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 bu...

Read more

clustertool-v5.0.0-beta.3

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 12 Nov 18:45
d18133a

ClusterTool v5 — Native Talos configuration, flexible bootstrap and Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a single-cluster repository layout, configurable application bootstrap, Flux Operator and Helm 4 integration. It also improves secret handling, initialization safeguards and bootstrap reliability.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the generated configuration before applying it to existing infrastructure.

ClusterTool now uses one cluster per repository, with top-level talos/ and kubernetes/ directories. The --cluster selector and clusters/<cluster>/ directory layer have been removed. Earlier layouts, including those from previous v5 betas, are not migrated automatically.

New bootstraps and bootstrap resumes require an explicit bootstrap configuration in talos/clustertool.yaml, with separate crd and steps lists. There is no fallback to the previous hardcoded application sequence. Configurations using the earlier flat bootstrap list must also be updated.

Storage uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data, verify that your backups can be restored, and retain your cluster secrets and age key.

Because the Talos transition already required a breaking release, the move to Flux Operator and the new repository layout are included in v5 as well.

🚀 Flexible application bootstrap

Bootstrap is now configurable through two ordered lists in talos/clustertool.yaml:

  • bootstrap.crd selects charts whose CRDs are applied as soon as the Kubernetes API is available, before Cilium and the kubelet CSR approver are installed.
  • bootstrap.steps selects the charts and manifests applied after the base charts and all nodes are ready, namespaces exist and base health checks have passed.

Chart and CRD entries reference HelmRelease metadata.name, using the configured chart versions and values. Manifest entries reference files relative to the repository root.

Application steps run sequentially and stop on the first error. Charts wait for resource readiness and completed Jobs by default, with a 15-minute timeout. Set wait: false on an individual chart step to skip these waits; Helm hooks retain their own waiting behavior.

The supplied configuration applies the kube-prometheus-stack CRDs during the early CRD phase. The application steps prepare secrets, infrastructure and restore operators, then install Flux Operator and FluxInstance. FluxInstance uses wait: false, allowing Flux to continue deployment in the background.

These steps run only during initial bootstrap or an explicitly confirmed resume. Ordinary talos apply operations do not rerun them. Bootstrap completion does not mean that Flux reconciliation or application restores have finished.

Details: #715, #734

📁 One cluster per repository

  • Store Talos configuration in talos/.
  • Organize Kubernetes resources under kubernetes/config/, kubernetes/repositories/, kubernetes/flux-entry/ and kubernetes/apps/.
  • Configure the cluster name through clusterName in talos/clustertool.yaml, independently of repository paths.
  • Store shared settings in kubernetes/config/cluster-secrets.sops.yaml, replacing the earlier cluster-settings.sops.yaml path.
  • Limit genks to kubernetes/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 the cluster name, versions, node roles and management addresses in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate generated node configurations before applying them.
  • Automatically select the alphabetically first control-plane node by name for bootstrap, without a manual bootstrapNode field.
  • 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 a FluxInstance.
  • Include both charts in the configurable bootstrap steps, with the operator installed first.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during bootstrap, keeping the age-key Secret out of generated Kustomizations.
  • Retain clustertool flux bootstrap for installing Flux separately on an existing cluster.

Details: #480, #715

🔐 Unified settings and improved secret handling

  • Use kubernetes/config/cluster-secrets.sops.yaml for both ClusterTool variables and Flux substitutions, without a generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Require quoted numeric and boolean values in settings stringData.
  • Respect SOPS stores and mac_only_encrypted settings.
  • 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 containing spaces or non-ASCII characters, staged deletions and missing working copies.
  • Abort commits when staging an encrypted result fails.
  • Validate SOPS regular expressions and use the appropriate parsers for YAML, JSON, dotenv and INI.

Details: #494, #492, #642

🛠️ Clearer configuration commands

  • Keep Flux placeholder and Kustomization generation separate from genconfig and talos apply.
  • Use genks, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Request confirmation 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 KUBECONFIG consistently in Kubernetes clients.

Details: #501, #637, #715

⎈ 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 reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling. Additional improvements cover bootstrap timeouts, Windows pre-commit hooks, SOPS path and format handling, concurrent chart downloads, shared HelmRelease defaults and explicit namespace declarations.

Details: #495, #496, #576, #606, #620, #642

Full changelog

Changes since v4.0.0

Changelog

  • f5ee70b chore(clustertool): move template instructions to path-based rules (#710)
  • 8dbcb82 docs(clustertool): add shared AI agent instructions (#665)
  • 873179d feat(clustertool)!: adopt a single-cluster repository structure (#685)
  • 5a2756f feat(clustertool): apply bootstrap CRDs before Cilium (#734)
  • 18c38ae feat(clustertool): make application bootstrap configurable (#715)
  • 45dd703 test(clustertool): align kubelet shutdown assertions with priority-based configuration (#667)

clustertool-v5.0.0-beta.2

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 31 Oct 15:45
00ae0a0

What's Changed

Read more

clustertool-v5.0.0-beta.1

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 28 Sep 08:16
ee76a8c

ClusterTool v5 — Native Talos configuration and Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a new configuration layout, Flux Operator bootstrap and Helm 4 integration. It also simplifies configuration management and improves secret handling, initialization safeguards and chart testing.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated, including the configuration layout and storage paths.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the new configuration before applying it to existing infrastructure.

Storage now uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data and retain your cluster secrets and age key before planning a migration.

Because the Talos transition already required a breaking release, we have deliberately included the move to Flux Operator in v5 as well. This brings both configuration changes into the same major release.

🖥️ Native Talos configuration

  • Replace Talhelper with native Talos configuration generation and validation.
  • Define versions, node roles, management addresses and the bootstrap node in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate all generated node configurations before applying them.
  • Improve targeted node operations, bootstrap recovery and control-plane quorum checks.

Details: #478

🔄 Flux Operator bootstrap

  • Replace the previous Flux manifest bootstrap with Flux Operator and a FluxInstance.
  • Install the operator first, followed by the instance, with readiness checks.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during Flux bootstrap, keeping the age key out of generated Kustomizations.

Details: #480

🔐 Unified settings and improved secret handling

  • Use clusters/<cluster>/secrets/cluster-settings.sops.yaml for both ClusterTool variables and Flux substitutions, replacing clusterenv.yaml and the generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Validate settings values: numbers and booleans in stringData must be quoted.
  • Respect SOPS stores and mac_only_encrypted settings.

Details: #494, #492

🛠️ Clearer configuration commands

  • genconfig and talos apply no longer regenerate Flux placeholders or Kustomizations.
  • Use the new genks command, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Block initialization of legacy Talhelper configurations and request confirmation before repeating completed initialization.
  • Preserve retry state when initialization fails and report hook installation errors.

Details: #501

⎈ Helm 4 integration

  • Migrate the Helm SDK to v4.3.0.
  • 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 reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling, and exercise all included HelmReleases through chart-test triggers. Additional fixes cover Windows pre-commit hooks, SOPS path matching and concurrent chart downloads.

Details: #495, #496, #478

Changelog

  • 3f7c2d6 fix(clustertool): let Flux reconcile in the background after bootstrap (#510)
  • 573e243 fix(clustertool): wait for kube-prometheus-stack during bootstrap (#509)

Changelog

clustertool-v5.0.0-alpha.6

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 21 Sep 19:53
3f7c2d6

ClusterTool v5 — Native Talos configuration and Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a new configuration layout, Flux Operator bootstrap and Helm 4 integration. It also simplifies configuration management and improves secret handling, initialization safeguards and chart testing.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated, including the configuration layout and storage paths.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the new configuration before applying it to existing infrastructure.

Storage now uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data and retain your cluster secrets and age key before planning a migration.

Because the Talos transition already required a breaking release, we have deliberately included the move to Flux Operator in v5 as well. This brings both configuration changes into the same major release.

🖥️ Native Talos configuration

  • Replace Talhelper with native Talos configuration generation and validation.
  • Define versions, node roles, management addresses and the bootstrap node in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate all generated node configurations before applying them.
  • Improve targeted node operations, bootstrap recovery and control-plane quorum checks.

Details: #478

🔄 Flux Operator bootstrap

  • Replace the previous Flux manifest bootstrap with Flux Operator and a FluxInstance.
  • Install the operator first, followed by the instance, with readiness checks.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during Flux bootstrap, keeping the age key out of generated Kustomizations.

Details: #480

🔐 Unified settings and improved secret handling

  • Use clusters/<cluster>/secrets/cluster-settings.sops.yaml for both ClusterTool variables and Flux substitutions, replacing clusterenv.yaml and the generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Validate settings values: numbers and booleans in stringData must be quoted.
  • Respect SOPS stores and mac_only_encrypted settings.

Details: #494, #492

🛠️ Clearer configuration commands

  • genconfig and talos apply no longer regenerate Flux placeholders or Kustomizations.
  • Use the new genks command, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Block initialization of legacy Talhelper configurations and request confirmation before repeating completed initialization.
  • Preserve retry state when initialization fails and report hook installation errors.

Details: #501

⎈ Helm 4 integration

  • Migrate the Helm SDK to v4.3.0.
  • 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.

Bootstrap and subsequent Flux reconciliation were successfully tested on a Talos cluster, with all reported HelmReleases ready and workloads reaching their desired replica counts.

Details: #502

🧪 Testing and reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling, and exercise all included HelmReleases through chart-test triggers. Additional fixes cover Windows pre-commit hooks, SOPS path matching and concurrent chart downloads.

Details: #495, #496, #478

Changelog

  • 3f7c2d6 fix(clustertool): let Flux reconcile in the background after bootstrap (#510)
  • 573e243 fix(clustertool): wait for kube-prometheus-stack during bootstrap (#509)

clustertool-v5.0.0-alpha.5

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 20 Sep 17:35
01ef5d7

ClusterTool v5 — Native Talos configuration, Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a new configuration layout, Flux Operator bootstrap and Helm 4 integration. It also simplifies configuration management and improves secret handling, initialization safeguards and chart testing.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated, including the configuration layout and storage paths.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the new configuration before applying it to existing infrastructure.

Storage now uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data and retain your cluster secrets and age key before planning a migration.

Because the Talos transition already required a breaking release, we have deliberately included the move to Flux Operator in v5 as well. This brings both configuration changes into the same major release.

🖥️ Native Talos configuration

  • Replace Talhelper with native Talos configuration generation and validation.
  • Define versions, node roles, management addresses and the bootstrap node in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate all generated node configurations before applying them.
  • Improve targeted node operations, bootstrap recovery and control-plane quorum checks.

Details: #478

🔄 Flux Operator bootstrap

  • Replace the previous Flux manifest bootstrap with Flux Operator and a FluxInstance.
  • Install the operator first, followed by the instance, with readiness checks.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during Flux bootstrap, keeping the age key out of generated Kustomizations.

Details: #480

🔐 Unified settings and improved secret handling

  • Use clusters/<cluster>/secrets/cluster-settings.sops.yaml for both ClusterTool variables and Flux substitutions, replacing clusterenv.yaml and the generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Validate settings values: numbers and booleans in stringData must be quoted.
  • Respect SOPS stores and mac_only_encrypted settings.

Details: #494, #492

🛠️ Clearer configuration commands

  • genconfig and talos apply no longer regenerate Flux placeholders or Kustomizations.
  • Use the new genks command, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Block initialization of legacy Talhelper configurations and request confirmation before repeating completed initialization.
  • Preserve retry state when initialization fails and report hook installation errors.

Details: #501

⎈ Helm 4 integration

  • Migrate the Helm SDK to v4.3.0.
  • 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.

Bootstrap and subsequent Flux reconciliation were successfully tested on a Talos cluster, with all reported HelmReleases ready and workloads reaching their desired replica counts.

Details: #502

🧪 Testing and reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling, and exercise all included HelmReleases through chart-test triggers. Additional fixes cover Windows pre-commit hooks, SOPS path matching and concurrent chart downloads.

Details: #495, #496, #478

Changelog

  • 01ef5d7 fix(clustertool): generate build metadata outside GoReleaser dist (#506)

clustertool-v5.0.0-alpha.4

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 20 Sep 17:21
b60829d

ClusterTool v5 — Native Talos configuration, Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a new configuration layout, Flux Operator bootstrap and Helm 4 integration. It also simplifies configuration management and improves secret handling, initialization safeguards and chart testing.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated, including the configuration layout and storage paths.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the new configuration before applying it to existing infrastructure.

Storage now uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data and retain your cluster secrets and age key before planning a migration.

Because the Talos transition already required a breaking release, we have deliberately included the move to Flux Operator in v5 as well. This brings both configuration changes into the same major release.

🖥️ Native Talos configuration

  • Replace Talhelper with native Talos configuration generation and validation.
  • Define versions, node roles, management addresses and the bootstrap node in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate all generated node configurations before applying them.
  • Improve targeted node operations, bootstrap recovery and control-plane quorum checks.

Details: #478

🔄 Flux Operator bootstrap

  • Replace the previous Flux manifest bootstrap with Flux Operator and a FluxInstance.
  • Install the operator first, followed by the instance, with readiness checks.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during Flux bootstrap, keeping the age key out of generated Kustomizations.

Details: #480

🔐 Unified settings and improved secret handling

  • Use clusters/<cluster>/secrets/cluster-settings.sops.yaml for both ClusterTool variables and Flux substitutions, replacing clusterenv.yaml and the generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Validate settings values: numbers and booleans in stringData must be quoted.
  • Respect SOPS stores and mac_only_encrypted settings.

Details: #494, #492

🛠️ Clearer configuration commands

  • genconfig and talos apply no longer regenerate Flux placeholders or Kustomizations.
  • Use the new genks command, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Block initialization of legacy Talhelper configurations and request confirmation before repeating completed initialization.
  • Preserve retry state when initialization fails and report hook installation errors.

Details: #501

⎈ Helm 4 integration

  • Migrate the Helm SDK to v4.3.0.
  • 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.

Bootstrap and subsequent Flux reconciliation were successfully tested on a Talos cluster, with all reported HelmReleases ready and workloads reaching their desired replica counts.

Details: #502

🧪 Testing and reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling, and exercise all included HelmReleases through chart-test triggers. Additional fixes cover Windows pre-commit hooks, SOPS path matching and concurrent chart downloads.

Details: #495, #496, #478

clustertool-v5.0.0-alpha.3

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 20 Sep 16:56
4aad843

ClusterTool v5 — Native Talos configuration, Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a new configuration layout, Flux Operator bootstrap and Helm 4 integration. It also simplifies configuration management and improves secret handling, initialization safeguards and chart testing.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated, including the configuration layout and storage paths.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the new configuration before applying it to existing infrastructure.

Storage now uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data and retain your cluster secrets and age key before planning a migration.

Because the Talos transition already required a breaking release, we have deliberately included the move to Flux Operator in v5 as well. This brings both configuration changes into the same major release.

🖥️ Native Talos configuration

  • Replace Talhelper with native Talos configuration generation and validation.
  • Define versions, node roles, management addresses and the bootstrap node in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate all generated node configurations before applying them.
  • Improve targeted node operations, bootstrap recovery and control-plane quorum checks.

Details: #478

🔄 Flux Operator bootstrap

  • Replace the previous Flux manifest bootstrap with Flux Operator and a FluxInstance.
  • Install the operator first, followed by the instance, with readiness checks.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during Flux bootstrap, keeping the age key out of generated Kustomizations.

Details: #480

🔐 Unified settings and improved secret handling

  • Use clusters/<cluster>/secrets/cluster-settings.sops.yaml for both ClusterTool variables and Flux substitutions, replacing clusterenv.yaml and the generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Validate settings values: numbers and booleans in stringData must be quoted.
  • Respect SOPS stores and mac_only_encrypted settings.

Details: #494, #492

🛠️ Clearer configuration commands

  • genconfig and talos apply no longer regenerate Flux placeholders or Kustomizations.
  • Use the new genks command, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Block initialization of legacy Talhelper configurations and request confirmation before repeating completed initialization.
  • Preserve retry state when initialization fails and report hook installation errors.

Details: #501

⎈ Helm 4 integration

  • Migrate the Helm SDK to v4.3.0.
  • 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.

Bootstrap and subsequent Flux reconciliation were successfully tested on a Talos cluster, with all reported HelmReleases ready and workloads reaching their desired replica counts.

Details: #502

🧪 Testing and reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling, and exercise all included HelmReleases through chart-test triggers. Additional fixes cover Windows pre-commit hooks, SOPS path matching and concurrent chart downloads.

Details: #495, #496, #478

clustertool-v5.0.0-alpha.2

Pre-release

Choose a tag to compare

@Boemeltrein Boemeltrein released this 20 Sep 16:21
0b1b91e

ClusterTool v5 — Native Talos configuration, Flux Operator

ClusterTool v5 introduces native Talos machine configuration, a new configuration layout, Flux Operator bootstrap and Helm 4 integration. It also simplifies configuration management and improves secret handling, initialization safeguards and chart testing.

⚠️ Breaking changes — read before upgrading

The main reason for this major release is the replacement of Talhelper with native Talos 1.14 machine configuration. This changes how node configurations are defined and generated, including the configuration layout and storage paths.

Existing Talhelper-based configurations cannot be used unchanged. Automatic migration is not provided, and a fresh cluster bootstrap is strongly recommended. Initialize v5 in a new folder and review the new configuration before applying it to existing infrastructure.

Storage now uses directory-type Talos user volumes, with Longhorn and OpenEBS configured for /var/mnt/longhorn and /var/mnt/openebs. Changing these paths does not migrate existing data. Back up persistent data and retain your cluster secrets and age key before planning a migration.

Because the Talos transition already required a breaking release, we have deliberately included the move to Flux Operator in v5 as well. This brings both configuration changes into the same major release.

🖥️ Native Talos configuration

  • Replace Talhelper with native Talos configuration generation and validation.
  • Define versions, node roles, management addresses and the bootstrap node in talos/clustertool.yaml.
  • Organize patches into shared, role-specific and node-specific directories.
  • Support individual network settings, installation disks and schematic IDs per node.
  • Validate all generated node configurations before applying them.
  • Improve targeted node operations, bootstrap recovery and control-plane quorum checks.

Details: #478

🔄 Flux Operator bootstrap

  • Replace the previous Flux manifest bootstrap with Flux Operator and a FluxInstance.
  • Install the operator first, followed by the instance, with readiness checks.
  • Support OCIRepository chart references during bootstrap.
  • Apply the deploy key and SOPS age-key Secret during Flux bootstrap, keeping the age key out of generated Kustomizations.

Details: #480

🔐 Unified settings and improved secret handling

  • Use clusters/<cluster>/secrets/cluster-settings.sops.yaml for both ClusterTool variables and Flux substitutions, replacing clusterenv.yaml and the generated settings ConfigMap.
  • Standardize credential filenames on deploy-key.sops.yaml and sops-age.sops.yaml.
  • Validate settings values: numbers and booleans in stringData must be quoted.
  • Respect SOPS stores and mac_only_encrypted settings.

Details: #494, #492

🛠️ Clearer configuration commands

  • genconfig and talos apply no longer regenerate Flux placeholders or Kustomizations.
  • Use the new genks command, also available as kustomizations, to generate missing Kustomization files.
  • Use githook to reinstall the encryption pre-commit hook after switching environments.
  • Block initialization of legacy Talhelper configurations and request confirmation before repeating completed initialization.
  • Preserve retry state when initialization fails and report hook installation errors.

Details: #501

⎈ Helm 4 integration

  • Migrate the Helm SDK to v4.3.0.
  • 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.

Bootstrap and subsequent Flux reconciliation were successfully tested on a Talos cluster, with all reported HelmReleases ready and workloads reaching their desired replica counts.

Details: #502

🧪 Testing and reliability

Improve HelmRelease deployment tests with OCI chart resolution and dependency handling, and exercise all included HelmReleases through chart-test triggers. Additional fixes cover Windows pre-commit hooks, SOPS path matching and concurrent chart downloads.

Details: #495, #496, #478

Changelog

  • 0b1b91e fix(clustertool): download embedded tools before precommit builds (#503)