diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index e23287c..120e92b 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,9 @@ = Changelog +== Version 2.11.1 + +* Fix helm binary path when adding incubator repository + == Version 2.11.0 * Support authentication to the helm repository using credentials from server definitions in maven `settings.xml` via `chartRepoServerId`. diff --git a/pom.xml b/pom.xml index 83cb8b2..1b2fe90 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.deviceinsight.helm helm-maven-plugin - 2.11.0 + 2.11.1 maven-plugin Helm Maven Plugin diff --git a/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt b/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt index 2427a58..87811dc 100644 --- a/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt +++ b/src/main/kotlin/com/deviceinsight/helm/PackageMojo.kt @@ -105,7 +105,7 @@ class PackageMojo : ResolveHelmMojo(), ServerAuthentication { executeCmd(listOf(helm, "init", "--client-only", "--stable-repo-url", stableRepoUrl)) } if (addIncubatorRepo) { - executeCmd(listOf("helm", "repo", "add", "incubator", incubatorRepoUrl) + helmAddFlags) + executeCmd(listOf(helm, "repo", "add", "incubator", incubatorRepoUrl) + helmAddFlags) } if (chartRepoUrl != null) { val server by lazy { getServer(chartRepoServerId) }