diff --git a/pkg/config/config.go b/pkg/config/config.go index 764f33196..f57248242 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -515,7 +515,7 @@ func GetConfigValueFromFile(configKey string) string { if !strings.HasSuffix(configKey, ".file") { configKey += ".file" } - var valuePath = viper.GetString(configKey) + var valuePath = os.ExpandEnv(viper.GetString(configKey)) if valuePath == "" { return "" }