Skip to content

Commit

Permalink
fixup! implement core egress policy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 23, 2025
1 parent bedbeb2 commit 78feded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/networkpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (r *Reconciler) reconcileCoreNetworkPolicy(ctx context.Context, cr *model.C
NamespaceSelector: &metav1.LabelSelector{
MatchExpressions: []metav1.LabelSelectorRequirement{
{
Key: "kubernetes.io/metadata.name",
Key: NAMESPACE_NAME_LABEL,
Operator: metav1.LabelSelectorOpIn,
Values: cr.Spec.TargetNamespaces,
},
Expand Down

0 comments on commit 78feded

Please sign in to comment.