draft-packs icon indicating copy to clipboard operation
draft-packs copied to clipboard

can we do helm init before build?

Open ryandawsonuk opened this issue 6 years ago • 0 comments

There are two 'helm dep build' in the makefiles e.g.:

https://github.com/jenkins-x/draft-packs/blob/master/packs/maven/charts/Makefile#L9 https://github.com/jenkins-x/draft-packs/blob/master/packs/maven/charts/Makefile#L26

When I add a requirements.yaml and a chart in it (e.g. postgres) then I get:

"Couldn't load repositories file ... you might need to run helm init"

I hit this in https://github.com/ryandawsonuk/example-runtime-bundle/tree/develop/charts/example-runtime-bundle (see the requirements.yaml and Makefile there)

ryandawsonuk avatar Jun 19 '18 17:06 ryandawsonuk