fix(sources/secrets): do not lowercase env secret file paths
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user