Background
Helm is a package manager for Kubernetes that helps you manage and deploy complex applications.
In Helm, variables are used to store values that can be used throughout your chart. These values can be customized for each deployment, allowing you to deploy your application in different environments with different configurations.
Helm provides a straightforward template language that makes it simple to refer to configuration settings that are defined in a “values file.”
e.g. The “name” config value from the “values file” is referred to in the Helm chart template above. The template will eventually be produced like follows, assuming the string “world” is the value of the configuration field “name”:
Referencing a “value” in a Helm chart template appears tidy and easy. So how might we use the Helm chart’s “values file” to refer to other values?