From ae438c8e9e609810855d8d58c2a84d0ef669423b Mon Sep 17 00:00:00 2001 From: Rei Date: Mon, 13 Sep 2021 21:36:05 +0200 Subject: [PATCH] Add more examples for remote env value files (#1938) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index aee6762e..ce9b30be 100644 --- a/README.md +++ b/README.md @@ -854,10 +854,12 @@ environments: values: - git::https://git.company.org/helmfiles/global/azure.yaml?ref=master - git::https://git.company.org/helmfiles/global/us-west.yaml?ref=master + - git::https://gitlab.com/org/repository-name.git@/config/config.test.yaml?ref=main # Public Gilab Repo 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 + - git::https://ci:{{ env "CI_JOB_TOKEN" }}@gitlab.com/org/repository-name.git@/config.dev.yaml?ref={{ env "APP_COMMIT_SHA" }} # Private Gitlab Repo --- @@ -865,6 +867,8 @@ releases: - ... ``` +For more information about the supported protocols see: [go-getter Protocol-Specific Options](https://github.com/hashicorp/go-getter#protocol-specific-options-1). + 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