Typofix: required_env -> requiredEnv

The name is `requiredEnv` and I cannot find any references to `required_env` in the repository anywhere.
This commit is contained in:
Chad Horohoe 2018-08-20 11:06:58 -07:00 committed by Chad Horohoe
parent 545a4a3efa
commit 2cf2dbb868
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ releases:
Helmfile uses [Go templates](https://godoc.org/text/template) for templating your helmfile.yaml. While go ships several built-in functions, we have added all of the functions in the [Sprig library](https://godoc.org/github.com/Masterminds/sprig). Helmfile uses [Go templates](https://godoc.org/text/template) for templating your helmfile.yaml. While go ships several built-in functions, we have added all of the functions in the [Sprig library](https://godoc.org/github.com/Masterminds/sprig).
We also added one special template function: `requiredEnv`. We also added one special template function: `requiredEnv`.
The `required_env` function allows you to declare a particular environment variable as required for template rendering. The `requiredEnv` function allows you to declare a particular environment variable as required for template rendering.
If the environment variable is unset or empty, the template rendering will fail with an error message. If the environment variable is unset or empty, the template rendering will fail with an error message.
## Using environment variables ## Using environment variables