Helm chart in custom repo not found; provider dies (instead of re-downloading it)
See original GitHub issueHello!
- Vote on this issue by adding a š reaction
- To contribute a fix for this issue, leave a comment (and link to your pull request, if youāve opened one already)
Issue details
When using a Helm chart and specifying an https URL for FetchOptions.Repo
, local cache removal causes errors. The issue also affects developers with an unpopulated local cache whoād like to continue working on our Pulumi config on an already-deployed stack.
- Iām using C# on windows
- Pulumi 3.27.0
- Pulumi.Kubernetes 3.17.0
Steps to reproduce
- Create a Chart object, e.g. with
new ChartArgs()
{
Chart = "haproxy-ingress",
Namespace = "haproxy",
FetchOptions = new ChartFetchArgs()
{
Repo = "https://haproxy-ingress.github.io/charts"
},
Version = "0.13.6"
}
- Run
pulumi up
. Successful. (chart gets downloaded without user intervention) - Delete
%LOCALAPPDATA%\Temp\helm\repository
. - Run
pulumi preview
(or up or refresh)
Expected: Last pulumi command succeeds as well.
Actual: The provider fails with: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: no cached repo found. (try 'helm repo update')
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Helm not considering my remote repo - Stack Overflow
I am using helm 2.6.1 to deploy a package to my kubernetes cluster. I have created a nexus raw repository to host the...
Read more >Release Notes ā Airflow Documentation
If after upgrading you find your task logs are no longer accessible, try adding a row in the ... Create a new documentation...
Read more >Home - Mirantis Secure Registry - Docs
Helm charts repositories. Deploying applications to Kubernetes can be complex. Setting up a single application can involve creating multiple interdependentĀ ...
Read more >Bug listing with status UNCONFIRMED as at 2022/12/14 12 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancementĀ ...
Read more >How to resolve Helm index.yaml virtual repository URL ... - JFrog
To resolve Helm charts from other local or remote Helm chart repositories, you'll need to aggregate them into a virtual Helm chart repository....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you. Yes, this is one main use case. The other developerās machine might not even have the
helm
cli installed on their system, requiring one more step from them. Another case is e.g. if the Temp directory gets cleaned up as part of routine system maintenance.No problem, can re-open. Appoligies for mis-understanding the issue here.
So, to ensure I understand the issue correctly as I wasnāt clear as to why youād want to delete the cache folderā¦
pulumi preview
Does this summarise the issue?