mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 10:24:35 +02:00
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:
committed by
Chad Horohoe
parent
545a4a3efa
commit
2cf2dbb868
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user