Merge pull request #84422 from aojea/kubemarkdrop

kube-proxy: ensure KUBE-MARK-DROP exists
This commit is contained in:
Kubernetes Prow Robot
2019-11-03 13:41:39 -08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -788,7 +788,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 {