Chapter 5: Building Your First Helm Chart
Here are some answers to the questions presented in this chapter:
- The
helm create
command can be used to scaffold a new Helm chart. - Declaring the Redis dependency prevented you from needing to create Redis templates in your Helm chart. It allowed you to deploy Redis without needing to know the proper Kubernetes resource configuration required.
- The
helm.sh/hook-weight
annotation can be used to set the execution order. Hooks are executed in ascending order by weight. - The
fail
function is used to immediately fail rendering and can be used to restrict user input against a set of valid settings. Therequired
function is used to declare a required value, in which chart templating will fail if that value is not provided. - To publish a Helm chart to a GitHub Pages chart repository, you must first use the
helm package
command to package your Helm chart in TGZ format. Next, you should generate the repository’sindex.yaml...