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
Helm dep update $(CHART)
cache crash for repos that weren't added prior to dep update
#11001
Comments
@lucasmellos This issue might be caused by a deprecated repository in the dependency list of the chart. For example, when I have the following dependency in my chart I get the error: dependencies:
- name: mysql
version: "^1.6.2"
repository: "https://kubernetes-charts.storage.googleapis.com/" However when I update to an active repository as follows, it works as expected: dependencies:
- name: mysql
version: "^8.0.29"
repository: "https://charts.bitnami.com/bitnami/" The |
That's not the case @hickeyma. dependencies:
- name: external-secrets-provider
version: "0.3.2"
repository: "https://lucasmellos.github.io/helm-charts"
- name: external-dns
version: "6.5.3"
repository: "https://charts.bitnami.com/bitnami" lock file dependencies:
- name: external-secrets-provider
repository: https://lucasmellos.github.io/helm-charts
version: 0.3.2
- name: external-dns
repository: https://charts.bitnami.com/bitnami
version: 6.5.3
digest: sha256:53b81e2255522ee43ccf05a6c3a28816f8c79e6c0ba44210bf1441cb64fd93ac
generated: "2022-06-08T16:45:29.91742-03:00" Follow log error Run helm dependency update ./external-dns --skip-refresh
helm dependency update ./external-dns --skip-refresh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Error: no cached repository for helm-manager-53a3c840affa47cb7d666d5e9b5494c9a6[2](https://github.com/signalwire/charts/runs/6800790619?check_suite_focus=true#step:5:2)5a[3](https://github.com/signalwire/charts/runs/6800790619?check_suite_focus=true#step:5:3)e572f12aff9d78d671073[4](https://github.com/signalwire/charts/runs/6800790619?check_suite_focus=true#step:5:5)4d6a found. (try 'helm repo update'): open /home/runner/.cache/helm/repository/helm-manager-[5](https://github.com/signalwire/charts/runs/6800790619?check_suite_focus=true#step:5:6)3a3c840affa47cb7d666d5e9b5494c9a625a3e572f12aff9d78d67107344d6a-index.yaml: no such file or directory
Error: Process completed with exit code 1. When I run without passing |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Sounds a lot like the issue I filed just a moment ago: |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
closing as duplicate of #11369 |
Still experiencing the issue with v3.14.3 despite #11369 being resolved. |
I am also having the same issue |
Output of
helm version
:version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"clean", GoVersion:"go1.14.11"}
How to reproduce:
When using CI tool dep repos that weren't added prior to dep update command are crashing the command.
The text was updated successfully, but these errors were encountered: