Creating a Guestbook Helm chart
In this section, we will create a Helm chart to deploy the Guestbook application. The final chart has been published under the
helm-charts/charts/guestbook folder of the Packt repository. Feel free to reference this location as you follow along with the examples.
We will begin development by first scaffolding the Guestbook Helm chart to create the chart's initial file structure.
Scaffolding the initial file structure
As you may recall from Chapter 4, Understanding Helm Charts, Helm charts must follow a particular file structure in order to be considered valid. Namely, a chart must contain the following required files:
Chart.yaml: Used to define chart metadata
values.yaml: Used to define default chart values
templates/: Used to define chart templates and Kubernetes resources to be created
We provided a list of each of the possible files a chart can contain in Chapter 4, Understanding Helm Charts, but the three preceding...