kluctl-v2.29.0-devel预发布2026-09-29
Development build
This is a development build of the main branch and not meant for production use.
Docker images are also available via: ghcr.io/kluctl/kluctl:v2.29.0-devel
Changelog
* b62b757cb0eb2400594f65ea07e4f4ae9818314c chore(deps): Bump actions/setup-go from 6 to 7 (#1512)
* a439cd10eee0c49a21dbd1a7288e511a412dc54b chore(deps): Bump actions/setup-node from 6 to 7 (#1513)
* 46c426863dd762ac47b60d35b41485f952170fed chore(deps): Bump actions/setup-python from 6 to 7 (#1514)
* f379b5ef168533be1a32385d793bc715dccbb685 chore(deps): Bump github.com/coder/websocket from 1.8.14 to 1.8.15 (#1484)
* 42a4eb9a0d117af9bf3e558084a6fbd7cc730685 chore(deps): Bump github.com/coreos/go-oidc/v3 from 3.18.0 to 3.20.0 (#1491)
* b1bd6687761cc243720a763a910505fc86e1580f chore(deps): Bump github.com/cyphar/filepath-securejoin (#1494)
* 565eb9c0bdb801f6c86169c3f47a02439fb8648c chore(deps): Bump github.com/docker/cli (#1496)
* c963a2b4fe9b0dd8511d97fc0e889776ff3be0e4 chore(deps): Bump github.com/onsi/gomega from 1.42.0 to 1.42.1 (#1498)
* d9aa7e0711eb03caad95c0fbcf0921455c19ca32 chore(deps): Bump the all group across 1 directory with 4 updates (#1504)
* fe022829b654845433d0061367b5ac96d4850998 fix: Accept a ./-prefixed path to the rendered helm chart (#1542)
* 23c9da533f65b534b95d6bd1f782c99a65838d52 fix: Fix version comparision in helm-update (#1518)
* 4a0e77e54c5a80d1639381a81a13be0aafdec43b fix: Introduce fakeBuildKubeClient to fix Helm rendering issues with CRs/CRDs (#1505)
* 7de858c01ae12d584eb7412f3b09709faf483f3d fix: detect Git repositories in linked worktrees (#1533)
kluctl-v2.28.22026-06-25
Kluctl v2.28.2 is a minor release that comes with a single fix.
Please read the release notes of v2.28.1 as it contains many changes.
Bugfixes and improvements
* The v2.28.1 release should have fixed #1359, but an automation (make manifests) caused the fix to be removed as it was done in the wrong file. This releases actually fixes this.
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.28.1...v2.25.2
kluctl-v2.28.12026-06-25
Kluctl v2.28.1 comes with new features, improvements and fixes.
Breaking changes
Removal of deprecated functionality (#1465)
Multiple deprecated features have been removed in this release.
* credentialsId in helm-chart.yaml and the corresponding CLI flags have been removed.
* Using spec.helmCredentials, spec.source.secretRef, and spec.source.credentials in KluctlDeployment will now cause the GitOps deployment to fail.
* Using spec.source.secretRef in KluctlDeployment will now cause the GitOps deployment to fail.
* The legacy/deprecated "example.com:path" format for --local-git-override/--local-git-override-group is not supported anymore. Use "example.com/path" instead.
The deprecated KLUCTLGITPREFIXPATH environment variable is not supported anymore. Use KLUCTLGITPATH instead.
Helm upgraded to v4
This release upgraded Helm to v4, which might introduce breaking changes. See Helm 4 Overview
for details about changes.
New Features and Improvements
Recursive simple deployments (#1489)
simple deployment items can now use recursive: true,
which causes the directory in path to be loaded in a recursive fashion.
YAML based vars sources can now use multidocs (#1371)
All vars sources that load vars from a YAML file (e.g. file and git) can now set multidoc: true,
which makes Kluctl treat the document as a multidoc (seperated by ---) and load the docs into an array at targetPath.
Git commit in templating
The new function loadlatestgit_commit
can now be used to determine the lates git commit that changed a file.
kluct.io/ignore annotation
The kluct.io/ignore annotation
can be used to completely ignore a resource.
Bugfixes and improvements
* Fixed zombie processes in container image (4a2416042875225d52617462cb267b368c5818ba)
Upgraded go-git to v6 alpha, which improves Kluctl performance when many files are involved (e.g. nodemodules) (#1454)
* Deployments Dir only checked if "when" condition is true (#1397)
* Implement proper oci caching and fix cache cleanup (#1471)
* honor ignoreMissing when a clusterSecret/clusterConfigMap key is absent (#1482)
Contributors
Thanks you to all the contributors who participated in this release:
- @braykov
- @dminca
- @guettli
- @immanuwell
- @jakguel
- @macmoritz
- @mvanhorn
- @mjbear
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.27.0...v2.28.1
kluctl-v2.27.02025-07-03
Kluctl v2.27.0 comes with new features, improvements and fixes.
New Features and Improvements
Metrics show last deployment start time
- The prometheus metrics will now show lastdeploystarttimestampseconds. See docs for more details.
Bugfixes and improvements
- All dependencies have been updated to the latest versions
- Don't add bogus : to image names when there is no tag in the OciRef (36cc2272)
- Immediately patch lastPrepareError instead of doing it at the end of the reconciliation (#1315) (f56ba0f0)
- Store deployment name/namespace for results in annotations instead of labels (#1310) (bfa83764)
- Return error instead of nil when command result can't be found (#1309) (72805eb1)
Contributors
Thanks you to all the contributors who participated in this release:
- @jgrasl
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.26.0...v2.27.0
kluctl-v2.26.02024-12-18
Kluctl v2.26.0 comes with new features, improvements and fixes.
New Features and Improvements
Helm Charts via Git
You can now use Helm Charts located in Git, without any need to release them in any form. This is done by directly providing the Git url und branch/tag information. See this documentation for more details: https://kluctl.io/docs/kluctl/deployments/helm/#git
List target names
The command kluctl list-targets not supports --only-names to list only the names of existing targets.
Passing Git credentials
You can now pass Git credentials via CLI and environment variables.
Bugfixes and improvements
* Kluctl should be able to handle situations better in which you have limited permissions, e.g. only permissions to a single namespace.
* Kluctl will now prevent . and .. as default tags when such pathes are used as deployment items.
* The GitOps controller will now clean up temporary gpg-agents when SOPS+GPG is used, preventing resource exhaustion.
Contributors
Thanks you to all the contributors who participated in this release:
- @aljoshare
- @mfrehe
- @dankaiser1808
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.25.0...v2.26.0
kluctl-v2.25.12024-07-20
Kluctl v2.25.1 is a minor release comes with improvements and fixes.
Bugfixes and improvements
* Kluctl will not warn about deprecated regexes anymore when it starts up
* Using Custom Resources for a CRD that is deployed in the same deployment will be more reliable from now on
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.25.0...v2.25.1
kluctl-v2.25.02024-06-19
Kluctl v2.25.0 comes with new features, improvements and fixes.
Breaking changes
Removal of the sealed-secrets integration
v2.25.0 finally removes the deprecated (and hidden) sealed-secrets integration. If you still use it, please switch to either SOPS or external-secrets.
New Features and Improvements
System Python support
Kluctl can now optionally use the system provided Python distribution instead of the embedded distribution. This can be enabled via the --use-system-python or via the KLUCTLUSESYSTEM_PYTHON=1 environment variable. This is mostly useful for maintainers of distributed packages, e.g. NixOS.
load_base64 function
You can now use load_base64 to load binary files and auto-convert these into their base64 representation.
Path prefix for the webui
The Webui can now be run under a non-root prefix, e.g. https://example.com/kluctl-webui/ instead of only https://example.com/. Use --path-prefix in the kluctl webui run command to set the path prefix. Also read the installation instructions for the Kluctl Webui.
Other new features
* kluctl helm-update will now also show the old version along updated versions.
Bugfixes and improvements
* The docker image now contains the gpg and gpg-agent packages so that SOPS with GPG is working properly.
* A few unnecessary warnings that happened while gathering orphan objects are now hidden.
* The batch.kubernetes.io/controller-uid labels inside Jobs are now ignored in diffs.
* Kluctl will not fail anymore when the local Git repo has no commits
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.24.0...v2.25.0
kluctl-v2.24.12024-04-10
Kluctl v2.24.1 is a patch release with fixes and minor improvements only.
If you use the kluctl-controller, you should update to v2.24.1 as otherwise the Helm integration might fail in some situations.
Do not forget to read through the v2.24.0 release notes before upgrading from v2.22.x.
Changelog
* f8d85571 fix: Don't try to find pre-pulled chart when skipPrePull is true
* 3ddc589a fix: Error out when no .helm-charts dir was found/provided
* ec035c30 fix: Fix error message in helm-pull/helm-update (#1060)
kluctl-v2.24.02024-04-10
Kluctl v2.24.0 comes with new features, improvements and fixes.
New Features and Improvements
Conflict resolution management via deployment.yaml
You can now configure conflict resolution via the conflictResolution field in deployments and sub-deployments. This allows you to fix all warnings that happen due to expected external changes, e.g. ValidatingWebhookConfiguration's CA updates that happen after applying the webkooks or cert-manager CA injections that happen by the cert-manager ca-injector.
Ignoring all Kluctl metadata in diffs
kluctl diff now support --ignore-kluctl-metadata, which will omit all diffs in for fields that are automatically added by kluctl. This includes labels for tags and discriminators and annotations for the deployment item path. This is useful when you perform refactorings that lead to a lot of metadata changes, for example when you move a deployment to another directory, which can easily cause hundreds or thousands of tag and annotation updates.
Better jsonpath support
JSON Path support has been improved to properly support wildcards and script expressions. This applies to all places where a JSON Path is used to select/match one or more fields, e.g. in conflictResolution and ignoreForDiff.
Other new features
* You can now override the discriminator in all commands that work with it. To do so, pass the --discriminator flag to the command. This is for example useful when you need to prune or delete deployments for which the discriminator has changed.
* kluctl controller install now accepts a --kubeconfig flag.
Bugfixes and improvements
* Kluctl will not fail anymore when RBAC permissions are not sufficient for some not strictly necessary features. Instead, Kluctl will warn you about reduced functionality.
* kluctl helm-pull is now working for Kluctl library projects.
* Validation warnings are now listed in the output of kluctl validate.
* The pre-pulled Helm Charts directory (.helm-charts) is now searched in all directories that lead to the root of the project. This allows better support for Kluctl Library projects.
Changelog
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.23.0...v2.24.0
kluctl-v2.23.52024-03-04
Kluctl v2.23.5 is a patch release with fixes and minor improvements only.
Do not forget to read through the v2.23.0 release notes before upgrading from v2.22.x.
Changelog
* 9c1680d1 fix: Also deep-clone aws config in buildTarget (#992)
* a251a4e2 fix: Also try LIST on namespaces when GET on kube-system fails
* 45ace5c8 fix: Do not execute rollback hooks
* 4e9281ac fix: Don't fail when LIST permissions for namespaces are missing
* 8af2b3ac fix: Fix crash in GetFirstObject that happens if a nil list is encountered (#982)
* ef3d5b41 fix: Ignore delete hooks on validation
* 4ea1e498 fix: Ignore rollback hooks when validating
* 5e7da010 fix: Make namespace optional in clusterObject vars source (#986)
* b6580b83 fix: Only warn when permissions are not sufficient for the result store
335d766d fix: Upgrade go-jinja2 to latest main branch to fix local vars with getvar/render
* a9326e27 fix: Warn about delete/rollback hooks not being supported
* 65103de0 fix: Warn when Kluctl is unable to determine the cluster ID
* 6d91f1f4 fix: always use the target context for validation
For a detailed list of changes, see the release comparison: https://github.com/kluctl/kluctl/compare/v2.23.4...v2.23.5