0PricingLogin
Helm Academy · Lesson

Consuming a Library as a Dependency

Wiring the library into an application chart.

Wire the Library In as a Dependency

An application chart pulls in a library by listing it under dependencies in Chart.yaml, just like any other subchart.

# Chart.yaml
dependencies:
  - name: common
    version: 1.x.x
    repository: file://../common

Point at a Local or Remote Source

The repository can be a file path during development or an HTTP or OCI URL in production. Both bring the library's templates into your chart.

repository: https://charts.bitnami.com/bitnami
# or file://../common

All lessons in this course

  1. Declaring a Library Chart Type
  2. Exporting Reusable Named Templates
  3. Consuming a Library as a Dependency
  4. Overriding Library Defaults Locally
← Back to Helm Academy