Maintain the order from the Gateway resource #689
Labels
area/gateway/core
Relates to all Core features of Gateway
enhancement
New feature or request
good first issue
Good for newcomers
refined
Requirements are refined and the issue is ready to be implemented.
Milestone
When updating the status of the Gateway and setting the status for each listener (https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1beta1.GatewayStatus ), NKG doesn't preserve the order of the listeners as they appear in the spec https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1beta1.GatewaySpec
This is to a bug. However, preserving the order can help the user who reads the status to comprehend and navigate it more easily.
FIXME in the code https://github.com/nginxinc/nginx-gateway-kubernetes/blob/890fddb787ff3560b9b743647a36b649d498ae51/internal/status/gateway.go#L19
Examples:
Gateway:
Status for listeners:
Acceptance criteria:
The text was updated successfully, but these errors were encountered: