0PricingLogin
Helm Academy · Lesson

Declaring Dependencies in Chart.yaml

Listing subcharts with repos and version ranges.

Charts Can Depend on Charts

Your app often needs a database or cache. Instead of copying that chart in, you list it as a dependency and Helm pulls it for you.

The dependencies Field

You declare dependencies under a top-level dependencies list in Chart.yaml. Each entry describes one subchart you want bundled in.

dependencies:
  - name: postgresql
    version: "15.5.0"
    repository: "https://charts.bitnami.com/bitnami"

All lessons in this course

  1. Declaring Dependencies in Chart.yaml
  2. Vendoring with helm dependency update
  3. Configuring Subcharts from Parent Values
  4. Conditions, Tags, and Global Values
← Back to Helm Academy