diff options
author | Alban Bedel <albeu@free.fr> | 2020-11-18 20:42:37 +0100 |
---|---|---|
committer | Alban Bedel <albeu@free.fr> | 2020-11-27 11:38:33 +0100 |
commit | b84304da5e720df11ebb2093c68a6f7e8a684b34 (patch) | |
tree | 47940bdbfa9c1ee3d7344d403625e0c727dd63cc /pkg/specgen/namespaces.go | |
parent | ad2439264d401af0443be564ccc68169a8517db4 (diff) | |
download | podman-b84304da5e720df11ebb2093c68a6f7e8a684b34.tar.gz podman-b84304da5e720df11ebb2093c68a6f7e8a684b34.tar.bz2 podman-b84304da5e720df11ebb2093c68a6f7e8a684b34.zip |
Prepare support in kube play for other volume types than hostPath
Replace the simple map of names to paths with a map of names to a struct
to allow passing more parameters. Also move the code to parse the volumes
to its own file to avoid making the playKubePod() function overly complex.
Finally rework the kube volumes test to also be ready to support more
volume types.
Signed-off-by: Alban Bedel <albeu@free.fr>
Diffstat (limited to 'pkg/specgen/namespaces.go')
0 files changed, 0 insertions, 0 deletions