fix(sources/secrets): do not lowercase env secret file paths

This commit is contained in:
Quentin McGaw
2023-06-01 08:20:13 +00:00
parent 2ab80771d9
commit 5d8fbf8006

View File

@@ -10,7 +10,7 @@ import (
func readSecretFileAsStringPtr(secretPathEnvKey, defaultSecretPath string) ( func readSecretFileAsStringPtr(secretPathEnvKey, defaultSecretPath string) (
stringPtr *string, err error) { stringPtr *string, err error) {
path := env.String(secretPathEnvKey) path := env.String(secretPathEnvKey, env.ForceLowercase(false))
if path == "" { if path == "" {
path = defaultSecretPath path = defaultSecretPath
} }