Skip to content

Commit

Permalink
fix(NPC): add missing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Apr 5, 2022
1 parent c7d4f53 commit b502802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/netpol/network_policy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b502802

Please sign in to comment.