From 9380b365deb4501df2ec3a2262ac7eed8bd615f1 Mon Sep 17 00:00:00 2001 From: ben-toogood Date: Thu, 13 Aug 2020 09:22:25 +0100 Subject: [PATCH] runtime/local: fix injection of secrets as env vars (#1930) --- runtime/local/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/local/local.go b/runtime/local/local.go index a122fcea..fd670a07 100644 --- a/runtime/local/local.go +++ b/runtime/local/local.go @@ -280,7 +280,7 @@ func (r *localRuntime) Create(s *runtime.Service, opts ...runtime.CreateOption) // pass secrets as env vars for key, value := range options.Secrets { - options.Env = append(options.Env, key, value) + options.Env = append(options.Env, fmt.Sprintf("%v=%v", key, value)) } if _, ok := r.namespaces[options.Namespace]; !ok {