From 9b7090ca1dd49f400753eacb3cba65f55a200766 Mon Sep 17 00:00:00 2001
From: Qingkun Li <qingkun.li@bytedance.com>
Date: Wed, 26 Feb 2020 00:04:26 -0800
Subject: [PATCH] add mangle table in the iptable flush task (#5672)

When kube-router is used as cni, rules might be added to the mangle table
to support external IPs. Therefore, mangle table should be flushed during
reset as well.
---
 roles/reset/tasks/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml
index 43d8dc10f..ff50dbafe 100644
--- a/roles/reset/tasks/main.yml
+++ b/roles/reset/tasks/main.yml
@@ -157,6 +157,7 @@
   with_items:
     - filter
     - nat
+    - mangle
   when: flush_iptables|bool
   tags:
     - iptables
-- 
GitLab