From 5d8fbf8006a6b7727f07aa5d0763ca4acef634a3 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 1 Jun 2023 08:20:13 +0000 Subject: [PATCH] fix(sources/secrets): do not lowercase env secret file paths --- internal/configuration/sources/secrets/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/configuration/sources/secrets/helpers.go b/internal/configuration/sources/secrets/helpers.go index 5c7d6799..7ffa8835 100644 --- a/internal/configuration/sources/secrets/helpers.go +++ b/internal/configuration/sources/secrets/helpers.go @@ -10,7 +10,7 @@ import ( func readSecretFileAsStringPtr(secretPathEnvKey, defaultSecretPath string) ( stringPtr *string, err error) { - path := env.String(secretPathEnvKey) + path := env.String(secretPathEnvKey, env.ForceLowercase(false)) if path == "" { path = defaultSecretPath }