mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-18 19:41:05 +01:00
fix(NPC): add missing quotes
This commit is contained in:
parent
c7d4f53b00
commit
b5028025b2
@ -420,7 +420,7 @@ func (npc *NetworkPolicyController) ensureExplicitAccept() {
|
||||
// for the traffic to/from the local pod's let network policy controller be
|
||||
// authoritative entity to ACCEPT the traffic if it complies to network policies
|
||||
for _, chain := range defaultChains {
|
||||
args := []string{"-m", "comment", "--comment", "rule to explicitly ACCEPT traffic that comply to network policies",
|
||||
args := []string{"-m", "comment", "--comment", "\"explicitly ACCEPT traffic that complies with network policies\"",
|
||||
"-m", "mark", "--mark", "0x20000/0x20000", "-j", "ACCEPT"}
|
||||
npc.filterTableRules = utils.AppendUnique(npc.filterTableRules, chain, args)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user