helm chart with dependency: how to package properly

5/11/2017

I have a parent helm chart with some child chart defined as a dependency in requirements.yaml. Child chart is packaged and uploaded to some-repo.

Currently I'm doing:

  • run helm package parent-chart
  • upload parent-chart.tgz to some-repo

And when I'm trying to install via helm install some-repo/parent-chart I get only parent chart installed but not the child chart.

How do I need to package parent chart to be able to install it with the child chart together?

-- abinet
kubernetes
kubernetes-helm

1 Answer

5/12/2017

One additional step should be added:

helm dep update parent-chart

it places child-chart.tgz into chart folder of parent chart and then packaging works

-- abinet
Source: StackOverflow