- Support excluding files from property replacement.
- Support escaping placeholders with backslash e.g.
\${MY_ENV_VAR}
will no longer be expanded
- Converted README and CHANGELOG to Markdown
- Add option to provide additional values files
- Fix helm binary path when adding incubator repository
- Support authentication to the helm repository using credentials from server definitions in maven
settings.xml
viachartRepoServerId
. - Add an option to pass
--force-update
when adding helm repositories managed by this plugin. - Cleanup dependencies, readme, and deprecated Kotlin functions
- Add a new goal,
resolve
, for downloading the helm binary as a separate step. This will still be done automatically by the other goals, but it can be used when running maven builds in parallel, so the helm binary doesn't need to be downloaded twice and to prevent concurrency issues.
- Support configuring the default URL of the helm repository for helm 2.x via
stableRepoUrl
- Fix detection of aarch64/arm64 architecture
- Support configuring the URL to the incubator repository via
incubatorRepoUrl
and allow to disable the incubator repository viaaddIncubatorRepo
- Fix inverted status check which fails for any 2xx HTTP status
- Accept any 2xx HTTP status code when deploying Helm charts
- Use new incubator repository hosted at https://charts.helm.sh/incubator
- If the package can't resolve a property an exception is no longer thrown. This behaviour is now logged with a warning, and the packaging mojo continues.
- Ignore
Set-Cookie
header of responses in thedeploy
goal - Update dependency versions
- Make
chartRepoUrl
optional - Add logging for property resolution
- Limit property substitution in
package
mojo to the file extensions "json", "tpl", "yml" and "yaml" - Allow multiple property substitutions on a single line
- Fix a bug where
chartVersion
always had to be configured explicitly. After this fix,chartVersion
correctly falls back toproject.model.version
again.
- Support other chart registries like JFrog Artifactory by introducing new optional configuration parameters:
chartPublishUrl
chartPublishMethod
chartDeleteUrl
- Support chart registries that need authentication for pulling images.
- Fix a problem with quoted file path arguments on Linux by only quoting paths that contain a space.
- Support overriding the chart version using the configuration parameter
chartVersion
. IfchartVersion
is not configured, the value forproject.model.version
will be used instead. - Add support for Helm 3.
- Update dependency on
jackson-databind
to version 2.9.10 because of CVE-2019-14540 and CVE-2019-16335. - Replace gitflow plugin
jgitflow-maven-plugin
with gitflow-maven-plugin.
- Update dependency on
jackson-databind
to version 2.9.9 because of CVE-2019-12086.
- Add new goal lint, which runs linting using helm lint.
- Make sure
target/test-classes
is created if it's missing.
- Support multiple platforms.
- Download official helm binary release if release is missing in remote artifact repository.
- Resolve helm binary as a regular Maven artifact. This allows to share the binary via the local Maven repository, so it doesn't have to be re-downloaded for every project.
- Add new goal
template
, which renders the template usinghelm template
. - Set helm chart version via
--version
. This allows to entirely omit the version in theChart.yaml
. - Simplify goal names. Goals now can be run using short names (
mvn helm:package helm:deploy
). - Do not create files in the temporary system folder any more.
- Introduced
helm.skip
property for skipping plugin execution. - Packaging and deploying have been split, so you have to add
<goal>deploy</goal>
to the<goals>
section of the plugin configuration. Also, the<skipPublishing>
option has been removed, since the same result can be achieved by omitting thedeploy
goal from the<goals>
.