summaryrefslogtreecommitdiff
path: root/libpod/image/image_test.go
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2021-03-27 20:27:58 +0100
committerAlban Bedel <albeu@free.fr>2021-03-28 15:01:24 +0200
commit9f92b8b0d8ac34c02100579a5acf6c127392aff5 (patch)
treeaadab9f26b3c714c88e3d6a7aa094066dafeb2af /libpod/image/image_test.go
parentec47312eebf11abcf74b5bf06df19ee2fb7b8afd (diff)
downloadpodman-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 'libpod/image/image_test.go')
0 files changed, 0 insertions, 0 deletions