0PricingLogin
Helm Academy · Lesson

Declaring a Library Chart Type

Setting type to library and what that forbids.

Two Kinds of Chart

Every Helm chart declares a type in Chart.yaml. The default is application, but a second type exists purely for sharing template logic.

# Chart.yaml
apiVersion: v2
name: my-app
type: application

Enter the Library Chart

Set type: library and the chart stops being something you install. It becomes a toolbox of named templates for other charts to reuse.

# Chart.yaml
apiVersion: v2
name: common
version: 0.1.0
type: library

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