Skip to content

Releases: unbroken-dome/gradle-helm-plugin

v1.2.0

08 Jun 14:27
Compare
Choose a tag to compare

Enhancements

  • All tasks invoking the helm CLI will now use Gradle's worker API for Gradle 6.0 or later. This will lead to much better performance when Gradle's parallel build feature is used, especially when installing multiple independent releases from the same Gradle project.
  • Publishing charts to a repository (HelmPublish task) now uses the worker API.
  • The Helm client can now be downloaded by the plugin, making the build less dependent on the local environment.
  • Add a version property to releases, which maps to the --version CLI option when installing or upgrading (thanks to @satellite13)
  • Add support for the --create-namespace flag for install and upgrade commands that was introduced in Helm 3.2.0.
  • Installation order of releases can now be influenced with mustInstallAfter and mustUninstallAfter. The existing dependsOn still works but is deprecated; selecting which releases are installed should be done using tags.

Bugfixes

  • #51 fix a possible out-of-bounds exception when processing YAML files (thanks to @alex-lmco)
  • #52 backslashes in files processed by HelmFilterSources (e.g. values.yaml) are now properly processed.

Other changes

  • HTTP client library dependencies for the helm-releases plugin are no longer dynamically downloaded; instead they are declared as a dependency of the plugin. This avoids errors if the build script using helm-releases does not declare a repository containing these artifacts (e.g. JCenter).

v1.1.1

17 Apr 22:53
Compare
Choose a tag to compare

Bugfix release.

  • #35 Prevent transformation exception for empty fileValues option (thanks to @marcoferrer)
  • #37 Re-establish Gradle 5.2 compatibility: avoid using Provider.orElse which was added in Gradle 5.6

v1.1.0

27 Mar 19:56
Compare
Choose a tag to compare

Enhancements

  • New "release targets" feature that allows declaring different targets for installing / uninstalling releases
  • Using tags to select which releases are included in an installation

v1.0.1

27 Mar 19:54
Compare
Choose a tag to compare

Improvements

  • HelmUninstall task now checks for existence of release first using helm ls, task will not fail if the release does not exist but report "up to date"
  • fileValues property in various places is smarter about different types of values, not just calling toString()

Bugfixes

  • task properties are now correctly turned into CLI options for installation task (HelmInstall etc.)
  • added missing CLI options mapping for --cert-file and --cli-file to HelmAddRepository
  • lockfile mechanism used by HelmUpdateRepositories creates the containing directories if they don't exist

v1.0.0

27 Mar 19:48
Compare
Choose a tag to compare

Major Changes

  • Support for Helm 3; Helm 2 is no longer supported due to major changes in the Helm model (but chart API version v1 is still supported)
  • Rework of the chart dependency resolution; dependencies are now extracted directly into the charts subdirectory instead of modifying the Chart.yaml / requirements.yaml file

Enhancements

  • Charts now have an extraFiles property that allows copying external files directly into the chart
  • Tasks that allow passing values now also have a fileValues property that sets a value from the contents of a file (--set-file CLI option)
  • Added methods helmStable, helmIncubator and bitnami to the repositories DSL, as a shortcut to add common repositories
  • Chart filtering now uses a SimpleTemplateEngine that evaluates Groovy expressions inside placeholders

v0.4.4

30 Sep 19:53
Compare
Choose a tag to compare
v0.4.4 Pre-release
Pre-release

Improvements

  • Chart dependency resolution now adds the version of the imported chart into the importing chart's requirements.yaml
  • Filtering now overrides name and version in Chart.yaml with values from DSL model
  • Filtering now provides a projectVersion placeholder by default, resolving to the Gradle project's version
  • Improved Kotlin DSL support for HelmChart extensions

v0.4.1

10 Sep 17:23
Compare
Choose a tag to compare

Enhancements

  • #12: Add --version flag to invocation of helm package
  • #13: HTTP client for publishing uses CookieSpec.STANDARD for more RFC-compliant cookie parsing
  • #16: Added --atomic flag to helm install and helm upgrade (thanks to @eemmiirr)

Bugfixes

  • #14: Fix convention adding the publish property to HelmChart when using the helm-publish plugin; added extension method for using the property from Kotlin DSL
  • #17: Pass missing flags --upgrade and --wait to HelmInit task

Other

v0.4.0

18 Jun 19:39
Compare
Choose a tag to compare

New Features

  • Publishing: support for different repository types, including Artifactory

Bugfixes

  • Helm lint task now depends on helmInitClient so that the Helm home directory is properly created if missing

v0.3.1

19 Apr 16:29
Compare
Choose a tag to compare

Bugfix: Packaged chart artifact was resolved incorrectly for publish task

v0.3.0: Merge pull request #7 from unbroken-dome/feature/docs

20 Jan 22:33
cf0a022
Compare
Choose a tag to compare