kube-proxy: check KUBE-MARK-DROP

This commit is contained in:
Antonio Ojea
2019-10-27 18:11:55 +01:00
parent 3d7318f29d
commit 1ca0ffeaf2
2 changed files with 2 additions and 1 deletions

View File

@@ -778,7 +778,7 @@ func (proxier *Proxier) syncProxyRules() {
writeLine(proxier.filterChains, utiliptables.MakeChainLine(chainName))
}
}
for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeNodePortsChain, kubePostroutingChain, KubeMarkMasqChain} {
for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeNodePortsChain, kubePostroutingChain, KubeMarkMasqChain, KubeMarkDropChain} {
if chain, ok := existingNATChains[chainName]; ok {
writeBytesLine(proxier.natChains, chain)
} else {