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.
This commit is contained in:
Qingkun Li 2020-02-26 00:04:26 -08:00 committed by GitHub
parent ee8e88b111
commit 9b7090ca1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,6 +157,7 @@
with_items: with_items:
- filter - filter
- nat - nat
- mangle
when: flush_iptables|bool when: flush_iptables|bool
tags: tags:
- iptables - iptables