- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fetchWaypointForInstance (0.53 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go
ServiceAccounts []string } // fetchWaypointForInstance attempts to find a Waypoint a given object is an instance of. // TODO should this also lookup waypoints by workload.addresses + workload.services[].vip? // ServiceEntry and WorkloadEntry likely won't have the gateway-name label. func fetchWaypointForInstance(ctx krt.HandlerContext, Waypoints krt.Collection[Waypoint], o metav1.ObjectMeta) *Waypoint {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:28 UTC 2024 - 11.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
network := a.Network(p.Status.PodIP, p.Labels).String() var appTunnel *workloadapi.ApplicationTunnel var targetWaypoint *Waypoint if instancedWaypoint := fetchWaypointForInstance(ctx, Waypoints, p.ObjectMeta); instancedWaypoint != nil { // we're an instance of a waypoint, set inbound tunnel info appTunnel = &workloadapi.ApplicationTunnel{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0)