Chapter 4: Understanding Helm Charts
Here are some answers to the questions presented in this chapter:
- YAML is the format most commonly used, though JSON can be used alternatively.
- The three required fields are
apiVersion
,name
, andversion
. - Values from a chart dependency can be referenced or overridden by placing desired dependency values in a map whose name is equal to the name of the dependency chart. Values can also be imported using the
import-values
setting, which can be used to allow dependency values to be referenced using a different name. - You can create an upgrade hook to ensure that a data snapshot is taken before running the
helm upgrade
command. - You can provide the
README.md
file to provide documentation for your chart. You can also create thetemplates/NOTES.txt
file, which can dynamically generate release notes upon installation. Finally, theLICENSE
file can be used to provide legal information. - The
range
action allows chart developers to...