diff --git a/README.md b/README.md index 89d027c6..12cb3e96 100644 --- a/README.md +++ b/README.md @@ -708,7 +708,7 @@ releases: ... ``` -### Note +### Note on Environment.Values vs Values The `{{ .Values.foo }}` syntax is the recommended way of using environment values. @@ -717,6 +717,27 @@ This is still working but is **deprecated** and the new `{{ .Values.foo }}` synt You can read more infos about the feature proposal [here](https://github.com/roboll/helmfile/issues/640). +### Loading remote environment values files + +Since #1296 and Helmfile v0.118.8, you can use `go-getter`-style URLs to refer to remote values files: + +```yaml +environments: + cluster-azure-us-west: + values: + - git::https://git.company.org/helmfiles/global/azure.yaml?ref=master + - git::https://git.company.org/helmfiles/global/us-west.yaml?ref=master + cluster-gcp-europe-west: + values: + - git::https://git.company.org/helmfiles/global/gcp.yaml?ref=master + - git::https://git.company.org/helmfiles/global/europe-west.yaml?ref=master + +releases: + - ... +``` + +This is particularly useful when you co-locate helmfiles within your project repo but want to reuse the definitions in a global repo. + ## Environment Secrets Environment Secrets (not to be confused with Kubernetes Secrets) are encrypted versions of `Environment Values`.