From ef2d8853c2b5c1c9d78fbfa4a7a2817f85ab007d Mon Sep 17 00:00:00 2001 From: James F McMahon Date: Sat, 9 May 2020 00:12:52 -0500 Subject: [PATCH] README: Add note about environment variable types (#1251) Fixes https://github.com/roboll/helmfile/issues/1248 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1c532c30..08c20d74 100644 --- a/README.md +++ b/README.md @@ -327,6 +327,10 @@ releases: value: {{ env "SCHEME" | default "https" }} ``` +### Note + +If you wish to treat your enviroment variables as strings always, even if they are boolean or numeric values you can use `{{ env "ENV_NAME" | quote }}` or `"{{ env "ENV_NAME" }}"`. These approaches also work with `requiredEnv`. + ## installation - download one of [releases](https://github.com/roboll/helmfile/releases) or