diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 5ad2a2d..0e1dc1d 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,10 @@ = Changelog +== Version 2.5.1 + +* Ignore `Set-Cookie` header of responses in the `deploy` goal +* Update dependency versions + == Version 2.5.0 * Make `chartRepoUrl` optional diff --git a/pom.xml b/pom.xml index bd88af1..f7116bf 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.deviceinsight.helm helm-maven-plugin - 2.5.0 + 2.5.1 maven-plugin Helm Maven Plugin @@ -20,13 +20,13 @@ 3.6.0 2.2.1 - 0.10.1 + 0.12.0 - 2.10.2 - 4.5.6 + 2.11.2 + 4.5.12 - 5.5.2 - 3.11.1 + 5.6.2 + 3.16.1 0.9.17 3.8.0 diff --git a/src/main/kotlin/com/deviceinsight/helm/DeployMojo.kt b/src/main/kotlin/com/deviceinsight/helm/DeployMojo.kt index 84073d4..b88220e 100644 --- a/src/main/kotlin/com/deviceinsight/helm/DeployMojo.kt +++ b/src/main/kotlin/com/deviceinsight/helm/DeployMojo.kt @@ -189,6 +189,9 @@ class DeployMojo : AbstractMojo() { private fun createChartRepoClient(chartDeploymentRequest: ChartDeploymentRequest): CloseableHttpClient { val clientBuilder = HttpClientBuilder.create() + // cookie management is disabled to avoid parsing errors of the Set-Cookie header + // see https://github.com/deviceinsight/helm-maven-plugin/issues/45 + .disableCookieManagement() if (chartDeploymentRequest.chartRepoUsername != null && chartDeploymentRequest.chartRepoPassword != null) { clientBuilder.setDefaultCredentialsProvider(BasicCredentialsProvider().apply {