Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
phlawski opened this issue Nov 17, 2020 · 3 comments

Comments

@phlawski
Copy link

phlawski commented Nov 17, 2020

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

@loganmzz
Copy link

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)

loganmzz added a commit to loganmzz/unbroken-dome.gradle-helm-plugin.issues-102 that referenced this issue May 28, 2021
loganmzz added a commit to loganmzz/unbroken-dome.gradle-helm-plugin.issues-102 that referenced this issue May 28, 2021
loganmzz added a commit to loganmzz/unbroken-dome.gradle-helm-plugin.issues-102 that referenced this issue Jun 1, 2021
@loganmzz
Copy link

loganmzz commented Jun 1, 2021

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

@vovtz
Copy link

vovtz commented Sep 21, 2022

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

helm/helm#11369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants