Version 1.7.0
This release of Kontemplate comes with the following improvements:
-
Value merging logic has been rewritten to be more explicit. This fixes a regression (#142 and #153) that occured in version 1.6.0.
Please see #147 for implementation details.
From now on the precedence of variable overrides will follow this precedence hierarchy (in ascending order):
- Default values in resource sets.
- Values imported from files (via
import:
) - Global values in a cluster configuration
- Values set in a resource set's
include
-section - Explicit values set on the CLI (
--var
)
Thanks to @tommyJimmy87, @merlineus and @Artii for providing feedback on this change!
-
The template function
default
has been replaced with a new implementation that actually works in the absence of values, which previously caused an error in the templating engine due to the way it is configured. (#148)Thanks to @phillipj for contributing this change!
-
A new
--kubectl
command-line flag can be used to specify whichkubectl
executable should be invoked by Kontemplate (#145) -
An issue preventing variables specified on the CLI from containing a
=
-character has been fixed. (#144) -
Dependencies have been updated, which means that new template functions from sprig are now available. Please consult their changelog and function overview for more information.
Release binaries are signed with GPG key 66F505681DB8F43B
which is verified on my Github profile. They are built repeatably and reproducibly using Nix.