Releases: unbroken-dome/gradle-helm-plugin
Releases · unbroken-dome/gradle-helm-plugin
v1.2.0
Enhancements
- All tasks invoking the
helmCLI 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 (
HelmPublishtask) 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
versionproperty to releases, which maps to the--versionCLI option when installing or upgrading (thanks to @satellite13) - Add support for the
--create-namespaceflag for install and upgrade commands that was introduced in Helm 3.2.0. - Installation order of releases can now be influenced with
mustInstallAfterandmustUninstallAfter. The existingdependsOnstill 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-releasesplugin are no longer dynamically downloaded; instead they are declared as a dependency of the plugin. This avoids errors if the build script usinghelm-releasesdoes not declare a repository containing these artifacts (e.g. JCenter).
v1.1.1
Bugfix release.
- #35 Prevent transformation exception for empty fileValues option (thanks to @marcoferrer)
- #37 Re-establish Gradle 5.2 compatibility: avoid using
Provider.orElsewhich was added in Gradle 5.6
v1.1.0
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
Improvements
HelmUninstalltask now checks for existence of release first usinghelm ls, task will not fail if the release does not exist but report "up to date"fileValuesproperty in various places is smarter about different types of values, not just callingtoString()
Bugfixes
- task properties are now correctly turned into CLI options for installation task (
HelmInstalletc.) - added missing CLI options mapping for
--cert-fileand--cli-filetoHelmAddRepository - lockfile mechanism used by
HelmUpdateRepositoriescreates the containing directories if they don't exist
v1.0.0
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
extraFilesproperty that allows copying external files directly into the chart - Tasks that allow passing values now also have a
fileValuesproperty that sets a value from the contents of a file (--set-fileCLI option) - Added methods
helmStable,helmIncubatorandbitnamito therepositoriesDSL, as a shortcut to add common repositories - Chart filtering now uses a
SimpleTemplateEnginethat evaluates Groovy expressions inside placeholders
v0.4.4
Improvements
- Chart dependency resolution now adds the version of the imported chart into the importing chart's requirements.yaml
- Filtering now overrides
nameandversionin Chart.yaml with values from DSL model - Filtering now provides a
projectVersionplaceholder by default, resolving to the Gradle project's version - Improved Kotlin DSL support for HelmChart extensions
v0.4.1
Enhancements
- #12: Add
--versionflag to invocation ofhelm package - #13: HTTP client for publishing uses
CookieSpec.STANDARDfor more RFC-compliant cookie parsing - #16: Added
--atomicflag tohelm installandhelm upgrade(thanks to @eemmiirr)
Bugfixes
- #14: Fix convention adding the
publishproperty toHelmChartwhen using thehelm-publishplugin; added extension method for using the property from Kotlin DSL - #17: Pass missing flags
--upgradeand--waittoHelmInittask
Other
- Added MIT license (thanks to @dcasavant)
v0.4.0
New Features
- Publishing: support for different repository types, including Artifactory
Bugfixes
- Helm lint task now depends on
helmInitClientso that the Helm home directory is properly created if missing
v0.3.1
Bugfix: Packaged chart artifact was resolved incorrectly for publish task
v0.3.0: Merge pull request #7 from unbroken-dome/feature/docs
- Migrate to Gradle 5.1
- Full documentation is available at https://unbroken-dome.github.io/projects/gradle-helm-plugin