Conditions, Tags, and Global Values
Toggling subcharts and sharing globals across them.
Not Every Subchart Is Always Needed
Sometimes you want a bundled database off in production but on for local testing. Helm lets you toggle subcharts with conditions and tags.
The condition Field
In Chart.yaml a dependency's condition names a boolean value path. When that value is true the subchart installs; when false it is skipped.
- name: postgresql
version: "15.5.0"
repository: "@bitnami"
condition: postgresql.enabledAll lessons in this course
- Declaring Dependencies in Chart.yaml
- Vendoring with helm dependency update
- Configuring Subcharts from Parent Values
- Conditions, Tags, and Global Values