unbroken-dome/gradle-helm-plugin

Unable to execute any helm commands if chart has a dependent chart with helm 3.4.x

Opened this issue · 3 comments

Hi,

My helm chart does inherit from other dependent third party chart. After upgrading to helm 3.4.1 I'm getting errors like this:

Error: no cached repository for helm-manager-0fab4cf7b4cfa351ed10e192302d9613cf0d28c7adf9b3893d169ed140c28450 found. (try 'helm repo update'): open /Users/xxx/src/foo/.gradle/helm/cache/helm/repository/helm-manager-0fab4cf7b4cfa351ed10e192302d9613cf0d28c7adf9b3893d169ed140c28450-index.yaml: no such file or directory

The only way to fix that is to force the plugin to use local helm distribution via downloadClient { } and point to the version 3.3.4. Any other version, even downloaded locally, which is greater or equal to 3.4.0 fails.

OS: macOS Big Sur 11.0.1
System helm installed from brew: 3.4.1
JDK: openjdk version "11.0.9.1" 2020-11-04 LTS

Same issue here with downloaded Helm:

Helm:   3.5.3 or 3.6.0
Plugin: 1.6.1
Gradle: 6.8.3
Kotlin: 1.4.20
JVM:    1.8.0_141 (Oracle Corporation 25.141-b15)
OS:     Linux 5.4.0-73-generic amd64 (Ubuntu 20.04.2 LTS)

On my side, problem was solved by declaring repository in build.gradle.kts. See loganmzz/unbroken-dome.gradle-helm-plugin.issues-102@c9f7983

vovtz commented

This seems to be caused by the same Helm bug for which I filed an issue earlier today:

helm/helm#11369