Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upwhen killing `helm dep up` the next `dep up` fails #5567
Comments
|
Good catch on this bug. Let me see if I can hammer out a quick bug fix this week |
|
Ran into this in 2.12.3 on Linux. |
|
I would have proposed a PR to fix this, be the first and only PR I did on this project took one year to get reviewed. So I'll pass. |
|
This is still an issue in 3.0.3. |
|
This is still an issue in v3.1.2+gd878d4d |
|
My helm version is v3.2.1. I am running a jenkins job where I do "helm dep update chart/ "But I am getting the same error. |
|
My helm version is v3.2.1. I do not kill "helm dep up" in the script before. Every time, I run with a new container, but when I execute "helm dep update chart" with a Jenkins job, it fails with the same error shown above. |
|
Any updates on this issue ? |
|
To solve this in my case, I had to: It seems like helm assumes |
|
Sounds to me like |
|
What we could do is include a Should be a simple issue to solve for those looking to contribute. |
|
like so: Line 87 in d0422e6 and here's where that code resides: helm/pkg/downloader/manager.go Line 247 in d481bc6 |
|
I would like to contribute to this issue. Pls let me know if its available to pick ? |
|
go ahead. |
|
I get this error all the time trying to run helm, both with version 2.14.3 (which is what we have installed in our cluster) and when using the latest locally (v3.3.0). It is something with my system perhaps -- but it happens always, even though the directory Creating a directory with a unique name, instead of assuming that the fixed name (Meanwhile I'm looking for the solution to my local issue) |
|
Can I work on this issue |
|
@deathname Maybe ask @vikkyomkar if no longer working on it? |
Pls go ahead. I dont have bandwidth for now |
when killing the process running
helm dep upit sometimes leave a temporary folder namedtmpchartsand this makes the nexthelm dep upfail with the following error.This is easily reproducable by creating a folder named
tmpchartsinside an helm chart root folder and try to launchhelm dep upOf course a workaround is to remove the folder manually before running the
helm dep upbut that would be great that helm did that automatically somehow.Output of
helm version:Output of
kubectl version:Cloud Provider/Platform (AKS, GKE, Minikube etc.): docker for mac
The code handling this is here :
helm/pkg/downloader/manager.go
Line 190 in 53d432f