From 164c42b4857c63fa9750599a9242709ed18c57db Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 11 Nov 2021 15:35:11 +0100 Subject: Fix network mode in play kube We need to use the config network mode when no network mode was set. To do so we have to keep the nsmode empty, MakeContainer() will use the correct network mode from the config when needed. Fixes #12248 Signed-off-by: Paul Holzinger --- test/e2e/config/containers-netns2.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/e2e/config/containers-netns2.conf (limited to 'test/e2e/config') diff --git a/test/e2e/config/containers-netns2.conf b/test/e2e/config/containers-netns2.conf new file mode 100644 index 000000000..1ffd100f5 --- /dev/null +++ b/test/e2e/config/containers-netns2.conf @@ -0,0 +1,3 @@ +[containers] + +netns = "bridge" -- cgit v1.2.3-54-g00ecf