Skip to content

Releases

v1.0.0

Choose a tag to compare

@dhi-bot dhi-bot released this 24 Nov 17:11
e6af93f

This release includes various fixes to dhi_customization, such as rejecting empty values and relative file and symlink paths.

Breaking Changes

  • dhi_customization now rejects empty values at plan time, with an error that says how to fix it. This also applies on destroy and refresh. Remove the field, or the empty value, to inherit it from the tag definition: @lukoboi
    • entrypoint or cmd set to [], or containing an empty argument
    • An environment variable with an empty value (environment = {} is still fine)
    • A user or group in accounts with an empty name
  • A relative file path, symlink path or symlink source is now rejected at plan time. These paths must be absolute paths that start with /. @lukoboi
  • Artifact includes and excludes are now sent exactly as written. The provider used to add a leading / to every path, so lib was stored as /lib. @lukoboi
    • A customization created with an earlier version shows a one-off in-place update on the next plan that takes the slash out (/lib becomes lib). Apply it, or add the slash to the configuration to keep it.

What's Changed

  • The docs and examples now show compression = "ZSTD" for several targets, and say which values can't be empty and that file paths are absolute. @lukoboi

v0.12.0

Choose a tag to compare

@dhi-bot dhi-bot released this 19 Nov 16:30
9efaf65

What's Changed

  • dhi_customization can now customize several tag definitions at once. Add a target block for each one, with its source, destination and tag_definition_id, instead of creating one customization per tag definition. @lukoboi
  • Adding or removing a target block updates the customization in place, including going from several targets back to one. @lukoboi
  • Setting source, destination and tag_definition_id on the resource still works for a single target, so existing configurations don't change. @lukoboi
  • A Helm chart customization has exactly one target. Mixing image and Helm chart targets, or using several Helm charts, is rejected. @lukoboi
  • Updates the README, docs and examples to explain targets, and adds an example for several targets. @lukoboi

v0.11.1

Choose a tag to compare

@dhi-bot dhi-bot released this 05 Nov 12:50
9efaf65

What's Changed

  • Updates documentation for customization inheritance

v0.11.0

Choose a tag to compare

@dhi-bot dhi-bot released this 03 Nov 15:09
c99ac1c

What's Changed

  • Adds variable_mappings support for Helm chart customizations, allowing each chart variable to point at a DHI image, a mirrored image tag definition, or a customization

v0.10.0

Choose a tag to compare

@dhi-bot dhi-bot released this 26 Oct 09:52
1da762c

What's Changed

  • Customizations now inherit from their tag definition instead of storing copies of its defaults. Leave a field out to inherit it, and set it to override it. Later changes to the tag definition reach your customization. @lukoboi
  • terraform import now records only what the customization overrides, so a terraform plan after import shows no changes. @lukoboi
  • Updates the README, docs and examples to explain inheritance and overriding. @lukoboi

v0.9.0

Choose a tag to compare

@dhi-bot dhi-bot released this 23 Oct 08:03
b34274c

What's Changed

  • Adds working-directory field support for image customizations (single customizations only) @lukoboi

v0.8.1

Choose a tag to compare

@dhi-bot dhi-bot released this 22 Oct 08:37
b34274c

What's Changed

  • Rebuilt with Go 1.27.3 to fix a certificate authority issue (golang/go#82345). No changes to provider behaviour. Upgrading is recommended. @lukoboi

v0.8.0

Choose a tag to compare

@dhi-bot dhi-bot released this 14 Oct 11:41
5263efb

What's Changed

  • Customizations now support symlinks via a new symlink block (path, source, and optional uid/gid). For image customizations only. @lukoboi

v0.7.0

Choose a tag to compare

@dhi-bot dhi-bot released this 24 Sep 17:08
5263efb

What's Changed

  • Adds example showing how to apply a shared customization baseline module across multiple images (golang and node), with image-agnostic values exposed by a baseline child module and per-image overrides set in the root module. @cdupuis
  • Customizations now use the latest endpoint versions. Previous versions will be retired on 31 October, and new features will be available only in the latest versions. No breaking changes are expected as part of this upgrade. @AndreSilva1993

v0.6.1

Choose a tag to compare

@dhi-bot dhi-bot released this 06 Apr 20:29
15edfe4
chore: add docs