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: v2.23.0...v2.24.0