Skip to content

Commit

Permalink
ignore svc
Browse files Browse the repository at this point in the history
Signed-off-by: qicz <[email protected]>
  • Loading branch information
qicz committed Oct 22, 2024
1 parent e8fd517 commit cd6a818
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/provider/kubernetes/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ func (r *gatewayAPIReconciler) processBackendRefs(ctx context.Context, gwcResour
resourceMappings.allAssociatedNamespaces.Insert(service.Namespace)
if !resourceMappings.allAssociatedServices.Has(utils.NamespacedName(service).String()) {
resourceMappings.allAssociatedServices.Insert(utils.NamespacedName(service).String())
gwcResource.Services = append(gwcResource.Services, service)
r.log.Info("added Service to resource tree", "namespace", string(*backendRef.Namespace),
"name", string(backendRef.Name))
}
gwcResource.Services = append(gwcResource.Services, service)
r.log.Info("added Service to resource tree", "namespace", string(*backendRef.Namespace),
"name", string(backendRef.Name))
}
endpointSliceLabelKey = discoveryv1.LabelServiceName

Expand Down

0 comments on commit cd6a818

Please sign in to comment.