Summary
A Helm chart is a set of files, written primarily in the YAML format, that follows a certain file structure. The Chart.yaml
file is used to set chart metadata and declare dependencies. The templates/
directory is used to contain Kubernetes YAML resources that are Go-templated, allowing them to be dynamically generated. Kubernetes resources defined under the templates/
directory can also contain certain hooks to configure stages in an application's life cycle. To provide documentation to users, charts can contain the README.md
and templates/NOTES.txt
files and can also contain the LICENSE
file to declare chart usage and distribution rights. Finally, charts can contain a .helmignore
file, which is used to omit declared files from the final packaged product.
In this chapter, you learned about the structure of a Helm chart and how to configure key chart components. With the knowledge from this chapter under your belt, you now have an understanding of the basic concepts...