Add Dependencies to a Helm Chart

Learn how to combine two or more Helm charts into one deployable unit.

We'll cover the following

Add dependencies to a Helm chart

In this lesson, we’ll refactor the generic app chart and see the pros and cons each approach has. We’ll start from something simple: We define the postgres chart as a dependency to the app chart, so instead of running a separate command to install the PostgreSQL database we can specify it in values.yaml.

To add such a dependency we need to modify the Chart.yaml file by adding the dependencies property:

Get hands-on with 1400+ tech skills courses.