podman/pkg/specgen
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
..
generate Honor custom DNS in play|generate kube 2021-01-29 08:49:45 -06:00
config_unsupported.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
container_validate.go Allow static ip and mac with rootless cni network 2021-01-27 17:35:54 +01:00
namespaces.go Support --network=default as if it was private 2020-12-02 18:38:35 -05:00
pod_validate.go Allow static ip and mac with rootless cni network 2021-01-27 17:35:54 +01:00
podspecgen.go Add support for slirp network for pods 2020-09-25 21:34:23 -04:00
specgen.go Spelling 2020-12-22 13:34:31 -05:00
volumes.go Reduce general binding binary size 2021-01-13 09:35:24 -06:00