Skip to content

Commit

Permalink
fix nftables e2e test
Browse files Browse the repository at this point in the history
knftables now correctly sets comments on chains so this is reflected  in the test.
  • Loading branch information
thomasferrandiz committed May 30, 2024
1 parent db7a440 commit 8a5552b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8a5552b

Please sign in to comment.