mirror of https://github.com/containers/podman.git
Rework envVarsFromConfigMap() and envVarValue() to simplify supporting other env sources than config maps. For this we pass the whole spec generator options struct as parameter instead of just the config maps list. Then we rename envVarsFromConfigMap() to envVarsFrom() and in envVarValue() we reposition the loop over the config maps to only run it when a configMapRef element exists. Signed-off-by: Alban Bedel <albeu@free.fr> |
||
|---|---|---|
| .. | ||
| kube.go | ||
| play_test.go | ||
| seccomp.go | ||
| volume.go | ||