diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-10-30 15:38:54 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-10-30 18:53:55 +0100 |
commit | 2704dfbb7a3fc079a74e9c8edf1acd7be24db035 (patch) | |
tree | dbe13f6e55f1e466850c4e25ddb8326cad04c40a /vendor/github.com/klauspost/compress/zstd | |
parent | 228396a99dc88fc828f23d4072a46ca8de90282f (diff) | |
download | podman-2704dfbb7a3fc079a74e9c8edf1acd7be24db035.tar.gz podman-2704dfbb7a3fc079a74e9c8edf1acd7be24db035.tar.bz2 podman-2704dfbb7a3fc079a74e9c8edf1acd7be24db035.zip |
Fix dnsname when joining a different network namespace in a pod
When creating a container in a pod the podname was always set as
the dns entry. This is incorrect when the container is not part
of the pods network namespace. This happend both rootful and
rootless. To fix this check if we are part of the pods network
namespace and if not use the container name as dns entry.
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'vendor/github.com/klauspost/compress/zstd')
0 files changed, 0 insertions, 0 deletions