spiegel_podman/pkg/specgen
cdoern 51f9a3d67a 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>
2022-06-14 16:12:10 -04:00
..
generate fix pod network handling with a host network 2022-06-14 16:12:10 -04:00
config_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
container_validate.go pkg/specgen: parse default network mode on server 2022-06-14 16:12:10 -04:00
namespaces.go pkg/specgen: parse default network mode on server 2022-06-14 16:12:10 -04:00
namespaces_test.go pkg/specgen: parse default network mode on server 2022-06-14 16:12:10 -04:00
pod_validate.go bump go module to version 4 2022-01-18 12:47:07 +01:00
podspecgen.go podman pod create --uidmap patch 2022-06-14 16:12:10 -04:00
specgen.go run, create: add --passwd-entry 2022-04-14 11:22:13 +02:00
specgen_test.go fix test 2021-10-11 17:41:58 +08:00
volumes.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath.go enable gocritic linter 2022-04-26 18:12:22 +02:00
winpath_linux.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_unsupported.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00
winpath_windows.go Implements Windows volume/mount support 2022-04-25 13:52:27 -05:00