Skip to content

Commit 8c5443a

Browse files
committed
fix(netpol): don't check if rules already exist in lax mode
Signed-off-by: SkalaNetworks <[email protected]>
1 parent 49aa35d commit 8c5443a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ovs/ovn-nb-acl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (c *OVNNbClient) UpdateDefaultBlockExceptionsACLOps(npName, pgName, npNames
128128
setACLName(acl, npName)
129129
}
130130

131-
acl, err := c.newACL(pgName, direction, util.IngressAllowPriority, match, ovnnb.ACLActionAllowRelated, util.NetpolACLTier, options)
131+
acl, err := c.newACLWithoutCheck(pgName, direction, util.IngressAllowPriority, match, ovnnb.ACLActionAllowRelated, util.NetpolACLTier, options)
132132
if err != nil {
133133
klog.Error(err)
134134
klog.Errorf("failed to create new block exceptions acl for network policy %s/%s: %v", npNamespace, npName, err)

0 commit comments

Comments
 (0)