From c78da07b43142f7228e1b345d3cd4618a6d626a1 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Mon, 9 Dec 2024 10:31:20 -0500 Subject: [PATCH] fix(config): add SOFT_SERVE_CONFIG_LOCATION to Environ Fixes: c354d5f21134 (feat: optionally pull config from a custom file (envvar), default to data path. (#557)) --- pkg/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/config/config.go b/pkg/config/config.go index 9d8395d4..05dd2c38 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -174,6 +174,7 @@ func (c *Config) Environ() []string { // TODO: do this dynamically envs = append(envs, []string{ + fmt.Sprintf("SOFT_SERVE_CONFIG_LOCATION=%s", c.ConfigPath()), fmt.Sprintf("SOFT_SERVE_DATA_PATH=%s", c.DataPath), fmt.Sprintf("SOFT_SERVE_NAME=%s", c.Name), fmt.Sprintf("SOFT_SERVE_INITIAL_ADMIN_KEYS=%s", strings.Join(c.InitialAdminKeys, "\n")),