From 4fae044f0ea0dfe69d375e48279b88465e7c7071 Mon Sep 17 00:00:00 2001 From: Yusuke KUOKA Date: Thu, 23 Aug 2018 09:44:38 +0900 Subject: [PATCH] doc: Instruction to use env files Closes #203 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b632e10c..8987739c 100644 --- a/README.md +++ b/README.md @@ -249,6 +249,16 @@ The `selector` parameter can be specified multiple times. Each parameter is reso `--selector tier=frontend --selector tier=backend` will select all the charts +## Using env files + +helmfile itself doesn't have an ability to load env files. But you can write some bash script to achieve the goal: + +```console +set -a; . .env; set +a; helmfile sync +``` + +Please see #203 for more context. + ## Examples For more examples, see the [examples/README.md](https://github.com/roboll/helmfile/blob/master/examples/README.md) or the [`helmfile.d`](https://github.com/cloudposse/helmfiles/tree/master/helmfile.d) distribution of helmfiles by [Cloud Posse](https://github.com/cloudposse/).