Skip to content

Commit

Permalink
use storage env var to create a pod spec
Browse files Browse the repository at this point in the history
  • Loading branch information
drgarcia1986 committed Aug 3, 2017
1 parent 58776c7 commit efd1b75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/server/deploy/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ func newPodSpec(name, image string, a *app.App, envVars map[string]string, fileS
for _, e := range a.EnvVars {
ps.Env[e.Key] = e.Value
}
for k, v := range fileStorage.PodEnvVars() {
ps.Env[k] = v
}
return ps
}

Expand Down

0 comments on commit efd1b75

Please sign in to comment.