diff options
author | baude <bbaude@redhat.com> | 2021-01-28 15:20:15 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2021-01-29 08:49:45 -0600 |
commit | ca0dd76bf3b98d1ebe25813a8b15361d58dc75ed (patch) | |
tree | e399fc29cf31d599f3af48e59875319424aa48fd /pkg/cgroups/cgroups.go | |
parent | 2ee034c1e6ddd9918b97ddea2fd3e6388ec8f60b (diff) | |
download | podman-ca0dd76bf3b98d1ebe25813a8b15361d58dc75ed.tar.gz podman-ca0dd76bf3b98d1ebe25813a8b15361d58dc75ed.tar.bz2 podman-ca0dd76bf3b98d1ebe25813a8b15361d58dc75ed.zip |
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>
Diffstat (limited to 'pkg/cgroups/cgroups.go')
0 files changed, 0 insertions, 0 deletions