spiegel_podman/pkg/specgen/generate
baude ca0dd76bf3 Honor custom DNS in play|generate kube
when creating kubernetes yaml from containers and pods, we should honor
any custom dns settings the user provided. in the case of generate kube,
these would be provided by --dns, --dns-search, and --dns-opt. if
multiple containers are involved in the generate, the options will be
cumulative and unique with the exception of dns-opt.

when replaying a kube file that has kubernetes dns information, we now
also add that information to the pod creation.

the options for dnspolicy is not enabled as there seemed to be no direct
correlation between kubernetes and podman.

Fixes: #9132

Signed-off-by: baude <bbaude@redhat.com>
2021-01-29 08:49:45 -06:00
..
kube Honor custom DNS in play|generate kube 2021-01-29 08:49:45 -06:00
config_linux.go Fix problems reported by staticcheck 2021-01-12 16:11:09 +01:00
config_linux_cgo.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
config_linux_nocgo.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container.go workdir presence checks 2021-01-26 09:02:21 +01:00
container_create.go workdir presence checks 2021-01-26 09:02:21 +01:00
namespaces.go network: disallow CNI networks with user namespaces 2021-01-13 17:04:51 +01:00
oci.go specgen: improve heuristic for /sys bind mount 2021-01-15 09:10:55 +01:00
pod_create.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
ports.go Correct port range logic for port generation 2020-12-08 16:23:14 -05:00
security.go Containers should not get inheritable caps by default 2021-01-07 05:53:07 -05:00
storage.go Fix problems reported by staticcheck 2021-01-12 16:11:09 +01:00
validate.go Fix problems reported by staticcheck 2021-01-12 16:11:09 +01:00