-
Notifications
You must be signed in to change notification settings - Fork 712
Move sorting Gateway API resources to the Provider layer #6690
Copy link
Copy link
Closed
Labels
Milestone
Description
Description:
Describe the issue.
Today, we sort Gateway API resources in the gateway-api layer to ensure stable order in the IR
#6599
This responsibility can be moved to the provider layer to ensure resources are sorted when consumed by the gateway-api layer
This avoids
- the need for a custom XDS IR Equal function that performs
DeepCopyandsortusing more CPU and memoryLine 164 in 7e22545
func (x *Xds) Equal(y *Xds) bool { - out of order provider resources will now be in order, avoiding a redundant gateway-api translation and a status update, taken care by watchable
[optional Relevant Links:]
Any extra documentation required to understand the issue.
Reactions are currently unavailable