diff options
author | Alban Bedel <albeu@free.fr> | 2021-03-27 20:27:58 +0100 |
---|---|---|
committer | Alban Bedel <albeu@free.fr> | 2021-03-28 15:01:24 +0200 |
commit | 9f92b8b0d8ac34c02100579a5acf6c127392aff5 (patch) | |
tree | aadab9f26b3c714c88e3d6a7aa094066dafeb2af /install.md | |
parent | ec47312eebf11abcf74b5bf06df19ee2fb7b8afd (diff) | |
download | podman-9f92b8b0d8ac34c02100579a5acf6c127392aff5.tar.gz podman-9f92b8b0d8ac34c02100579a5acf6c127392aff5.tar.bz2 podman-9f92b8b0d8ac34c02100579a5acf6c127392aff5.zip |
play kube: prepare supporting other env source than config maps
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>
Diffstat (limited to 'install.md')
0 files changed, 0 insertions, 0 deletions