diff options
author | cdoern <cbdoer23@g.holycross.edu> | 2022-05-05 20:12:44 -0400 |
---|---|---|
committer | cdoern <cdoern@redhat.com> | 2022-06-02 14:16:28 -0400 |
commit | 831d6534fb7b04e092710dfa5d233fe5cb9db9f8 (patch) | |
tree | f9a6a329c7bcd11f7480bce8b4771adae8e16555 /test/certs | |
parent | be527a358a7da7c6ea762da8836e39cfddd18297 (diff) | |
download | podman-831d6534fb7b04e092710dfa5d233fe5cb9db9f8.tar.gz podman-831d6534fb7b04e092710dfa5d233fe5cb9db9f8.tar.bz2 podman-831d6534fb7b04e092710dfa5d233fe5cb9db9f8.zip |
fix pod network handling with a host network
the function `GetDefaultNamespaceMode` for pods checks if we are sharing each namespace
and if not, returns the default which in the case of a network is slirp.
add a switch case for explicitly checking if the pod's network mode is host
and if so, return specgen.Host for the container
resolves #13763
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Signed-off-by: cdoern <cdoern@redhat.com>
Diffstat (limited to 'test/certs')
0 files changed, 0 insertions, 0 deletions