fix(NPC): add missing quotes

This commit is contained in:
Aaron U'Ren 2022-04-05 16:59:31 -05:00 committed by Aaron U'Ren
parent c7d4f53b00
commit b5028025b2

View File

@ -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)
}