Scaffolding the Guestbook Helm chart
When developing a new Helm chart from scratch, it is often useful to start by running the helm create
command, which has the following syntax:
helm create NAME [flags]
The helm create
command provides a new project folder for your Helm chart. Inside, the folder contains a basic Helm chart scaffolding that you can use to begin developing your chart.
Let’s run the helm create
command to scaffold our Guestbook Helm chart:
- In your terminal, within a directory where you would like to store Helm charts, run the
helm create
command:$ helm create guestbook Creating guestbook
- Review the list of files that have been created:
$ ls –al guestbook . .. charts/ Chart.yaml .helmignore templates/ values.yaml $ ls –l guestbook/templates/ deployment.yaml _helpers.tpl hpa.yaml ingress.yaml NOTES.txt serviceaccount.yaml service.yaml tests/
As you can see, the helm create
command generated a new folder for you called guestbook...