Skip to content

How to solve the invalid chart reference error? #5048

Answered by stefanprodan
ArKam asked this question in Q&A
Discussion options

You must be logged in to vote

The .spec.chart.spec.chart is the path to the chart dir, see the docs here: https://fluxcd.io/flux/components/source/helmcharts/#chart

In your case it's ./ which is really bad, as the whole Git history will end up in packaged Helm chart. Please follow the standard Helm chart template that contains https://github.com/stefanprodan/podinfo/blob/master/charts/podinfo/.helmignore

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ArKam
Comment options

@stefanprodan
Comment options

@ArKam
Comment options

@stefanprodan
Comment options

Answer selected by ArKam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants