Chapter 5: Building Your First Helm Chart
Here are some answers to the questions presented in this chapter:
helm createcommand 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.
helm.sh/hook-weightannotation can be used to set the execution order. Hooks are executed in ascending order by weight.
failfunction is used to immediately fail rendering and can be used to restrict user input against a set of valid settings. The
requiredfunction 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 packagecommand to package your Helm chart in TGZ format. Next, you should generate the repository’s