mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 13:06:40 +00:00
Update default secret mount path to /run/secrets/
This commit reverts the changes done in #738 to update the default secret mount path to `/run/secrets/` Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
This commit is contained in:
@ -109,7 +109,7 @@ func (ReadConfig) Read(hasEnv HasEnv) GatewayConfig {
|
||||
|
||||
secretPath := hasEnv.Getenv("secret_mount_path")
|
||||
if len(secretPath) == 0 {
|
||||
secretPath = "/var/openfaas/secrets/"
|
||||
secretPath = "/run/secrets/"
|
||||
}
|
||||
cfg.SecretMountPath = secretPath
|
||||
|
||||
|
Reference in New Issue
Block a user