Browse Source

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.
pull/5575/head
Qingkun Li 4 years ago
committed by GitHub
parent
commit
9b7090ca1d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/reset/tasks/main.yml

1
roles/reset/tasks/main.yml

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

Loading…
Cancel
Save