Skip to content

Releases: InQuicker/ktmpl

0.7.0

24 Mar 05:15
Compare
Choose a tag to compare

New features:

  • Two new functions are exposed via the Rust library.

    • parameter_values_from_str
    • parameter_values_from_yaml

    These allow ParameterValues to be constructed from either strings or Yaml values without needing to read from a file, for programmatic use.

0.6.0

21 Mar 23:43
Compare
Choose a tag to compare

New features:

  • Parameter values can now be supplied from a YAML file using the --parameter-file option.
  • Kubernetes secrets can be automatically Base64-encoded using the --secret option, to better support coarse-grained secret data like config files.
  • ktmpl is now installable with Homebrew on macOS.
  • ktmpl can now be used as a Rust library.

See the project's README for more details on these new features.

0.5.0

10 Sep 01:40
Compare
Choose a tag to compare

Improvements:

  • ktmpl can read the template file from stdin instead of by filename if you use - as the filename.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc

0.4.1

10 Aug 02:29
Compare
Choose a tag to compare

Improvements:

  • Parameter values can now begin with hyphens. ktmpl will no longer treat such values as CLI arguments.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc

0.4.0

28 Jul 19:40
Compare
Choose a tag to compare

Breaking changes:

  • The format used to pass parameters to ktmpl is now:

    --parameter NAME VALUE [--parameter NAME VALUE ...]
    

    This allows values to use standard shell interpolation and include values like spaces and newlines.
    Because the option now takes two values, each parameter name-value pair must include the literal --parameter text.

  • The semantics of the --base64-parameter option have changed. Previously, values passed through this option would be Base64-encoded before being inserted into the template. Now this encoding is done automatically when the parameter's parameterType is declared as base64 in the template. Using --base64-parameter disables this automatic encoding, so that you can supply data that's already been encoded without double-encoding it.

Improvements:

  • Better readability of help output.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc

0.3.0

26 May 01:37
Compare
Choose a tag to compare

New features:

  • A new option, --base64-parameter, will automatically encode the supplied value with Base64 before inserting it into the template. This is useful for creating Kubernetes secrets.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc

0.2.1

13 May 06:16
Compare
Choose a tag to compare

Bug fixes:

  • Parameters that include equals signs in their values will now be captured correctly from the command line. The first equals sign encountered is treated as the delimiter between the parameter name and value.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc

0.2.0

11 May 22:49
Compare
Choose a tag to compare

Improvements:

  • More specific error messages when the expected type of a parameter is known.

Bug fixes:

  • Support multiple parameter interpolations on the same line.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc

0.1.0

25 Feb 08:56
Compare
Choose a tag to compare

Initial release.

OpenPGP public key for verifying the SHA-256 checksum: https://keybase.io/jimmycuadra/key.asc