From b5028025b2dbed4f76fb9723c682fe3f64d66a25 Mon Sep 17 00:00:00 2001 From: Aaron U'Ren Date: Tue, 5 Apr 2022 16:59:31 -0500 Subject: [PATCH] fix(NPC): add missing quotes --- pkg/controllers/netpol/network_policy_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/netpol/network_policy_controller.go b/pkg/controllers/netpol/network_policy_controller.go index 0fa277902..2600fb333 100644 --- a/pkg/controllers/netpol/network_policy_controller.go +++ b/pkg/controllers/netpol/network_policy_controller.go @@ -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) }