https://pulumi.com logo
#kubernetes
Title
# kubernetes
n

nutritious-flower-51098

09/08/2020, 1:48 PM
I’m having some issues trying installing argocd helm chart, and there’s not much information to debug. Definition I have is:
Copy code
const argocd = new kubernetes.helm.v3.Chart("argo", {
    repo: "argo",
    chart: "argo-cd",
    fetchOpts: {
        repo: "<https://argoproj.github.io/argo-helm>",
    },

    namespace: argoNamespace.metadata.name,
}, {
    provider: kubernetesProvider,
    dependsOn: [argoNamespace]
})
error generated:
Copy code
Error: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: chart "argo/argo-cd" not found in <https://argoproj.github.io/argo-helm> repository
which is very confusing, as the chart is definitely there and I can install it manually:
Copy code
helm repo list | grep argo                                                                                                                                                                                    
argo        	<https://argoproj.github.io/argo-helm>
Copy code
helm install argo/argo-cd -n argocd --generate-name
apparently, removing ‘repo’ from args fixes it. Would be good if there was an automatic check for that ¯\_(ツ)_/¯
g

gentle-diamond-70147

09/08/2020, 6:39 PM
Thanks for sharing. I've opened https://github.com/pulumi/pulumi-kubernetes/issues/1295 to provide better feedback to the user in this scenario. Please take a look and add any further comments if I didn't capture it correctly.
4 Views