From 58a61e870bb07683620111b2de5f32b982dab825 Mon Sep 17 00:00:00 2001 From: Thomas Ferrandiz Date: Thu, 30 May 2024 13:02:18 +0000 Subject: [PATCH] fix nftables e2e test knftables now correctly sets comments on chains so this is reflected in the test. --- e2e/run-e2e-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/run-e2e-tests.sh b/e2e/run-e2e-tests.sh index d8fc110ecf..86e3221786 100644 --- a/e2e/run-e2e-tests.sh +++ b/e2e/run-e2e-tests.sh @@ -323,6 +323,7 @@ check_nftables() { read -d '' POSTROUTING_RULES_WORKER << EOM table ip flannel-ipv4 { chain postrtg { + comment "chain to manage traffic masquerading by flannel" type nat hook postrouting priority srcnat; policy accept; meta mark 0x00004000 return ip saddr ${worker_podcidr} ip daddr 10.42.0.0/16 return @@ -336,6 +337,7 @@ EOM read -r -d '' POSTROUTING_RULES_LEADER << EOM table ip flannel-ipv4 { chain postrtg { + comment "chain to manage traffic masquerading by flannel" type nat hook postrouting priority srcnat; policy accept; meta mark 0x00004000 return ip saddr ${leader_podcidr} ip daddr 10.42.0.0/16 return