Hands-on chart development
Helm charts are nothing but a set of configuration templates with variable placeholders in the templates. These placeholders can be replaced with values when templates are rendered for installation. Helm has a powerful domain-specific language (DSL) providing a wide range of constructs for variable replacement. We will look at some frequently used constructs to learn chart development in the upcoming sections.
Chart generation
A Helm chart bundle has a set of organized files and folders. Either we need to understand the structure to develop it from scratch or we can use the generator. In the hands-on example, we will use the generator to create a chart named hello-world
(helm create <chart-name>
), as illustrated in the following screenshot:
Let’s look at the use of each file, as follows:
Chart.yaml
: This is a file that holds a description for the chart. It contains information...