Releases: unbroken-dome/gradle-helm-plugin
Releases · unbroken-dome/gradle-helm-plugin
v1.2.0
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
andmustUninstallAfter
. The existingdependsOn
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 usinghelm-releases
does 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.orElse
which 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
HelmUninstall
task now checks for existence of release first usinghelm 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 callingtoString()
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
toHelmAddRepository
- lockfile mechanism used by
HelmUpdateRepositories
creates 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
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
andbitnami
to therepositories
DSL, as a shortcut to add common repositories - Chart filtering now uses a
SimpleTemplateEngine
that 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
name
andversion
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
Enhancements
- #12: Add
--version
flag to invocation ofhelm package
- #13: HTTP client for publishing uses
CookieSpec.STANDARD
for more RFC-compliant cookie parsing - #16: Added
--atomic
flag tohelm install
andhelm upgrade
(thanks to @eemmiirr)
Bugfixes
- #14: Fix convention adding the
publish
property toHelmChart
when using thehelm-publish
plugin; added extension method for using the property from Kotlin DSL - #17: Pass missing flags
--upgrade
and--wait
toHelmInit
task
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
helmInitClient
so 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