Open champtar opened 2 weeks ago
Tested with
{
"type": "portmap",
"capabilities": {"portMappings": true},
"externalSetMarkChain": "KUBE-MARK-MASQ",
"conditionsV4": ["!", "-d", "127.0.0.0/8", "-m", "iprange", "!", "--dst-range", "198.19.254.254"]
},
ah, oops, yes /lgtm (but I'm not sure I can actually do that?) /assign @squeed
(ah, lol, there's no prow
at all here)
@squeed this one is also ready to be merged (just rebased)
@danwinship @squeed rebased and ready to merge
As show in the docs, iptables conditions can also start with '!'
Fixes 01a94e17c77e6ff8e5019e15c42d8d92cf87194f Fixes #1114