How do library charts differ from just copying `_helpers.tpl` into every chart?
IntermediateConceptDependencies, Subcharts & Library Charts
Answer
Copying works until you have 40 charts with 40 slightly different helpers. A library chart is versioned and distributed like any chart: fixes ship by bumping one dependency version, you can test the library once, and Chart.lock shows exactly which library version each service uses. The cost is an extra layer of indirection that makes rendered output harder to trace, so keep the library small and well documented.
More on Dependencies, Subcharts & Library Charts
How do you declare a chart dependency in Helm 3?BeginnerWhat is the difference between `helm dependency update` and `helm dependency build`?IntermediateWhat is `Chart.lock` and why commit it?BeginnerHow does `condition` work on a dependency?BeginnerWhat are `tags` on dependencies?IntermediateWhat does `alias` do on a dependency?Intermediate