We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d92f3 commit fb94d8cCopy full SHA for fb94d8c
lib/puppet/provider/firewall/iptables.rb
@@ -443,7 +443,7 @@ def self.instances
443
# String#lines would be nice, but we need to support Ruby 1.8.5
444
nf_warning_msg = "# Warning: ip6?tables-legacy tables present, use ip6?tables-legacy-save to see them\n"
445
iptables_save.gsub(%r{#{nf_warning_msg}}, '').split("\n").each do |line|
446
- unless %r{^\#\s+|^\:\S+|^COMMIT|^FATAL}.match?(line)
+ unless %r{^\#\s+|^\:\S+|^COMMIT|^FATAL|^-A (KUBE-)}.match?(line)
447
if %r{^\*}.match?(line)
448
table = line.sub(%r{\*}, '')
449
else
0 commit comments