Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/policyendpoints_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ func (r *PolicyEndpointsReconciler) updatePolicyEnforcementStatusForPods(ctx con
func (r *PolicyEndpointsReconciler) reconcilePolicyEndpoint(ctx context.Context,
policyEndpoint *policyk8sawsv1.PolicyEndpoint) error {
log().Infof("Processing Policy Endpoint Name: %s Namespace %s", policyEndpoint.Name, policyEndpoint.Namespace)
start := time.Now()

// Identify pods local to the node. PolicyEndpoint resource will include `HostIP` field and
// network policy agent relies on it to filter local pods
Expand All @@ -232,6 +231,7 @@ func (r *PolicyEndpointsReconciler) reconcilePolicyEndpoint(ctx context.Context,

for podIdentifier, _ := range podIdentifiers {
// Derive Ingress IPs from the PolicyEndpoint
start := time.Now()
ingressRules, egressRules, isIngressIsolated, isEgressIsolated, err := r.deriveIngressAndEgressFirewallRules(ctx, podIdentifier,
policyEndpoint.Namespace, policyEndpoint.Name, false)
if err != nil {
Expand Down
Loading