Skip to content

Bug: httpRoute does not take effect when created before gateway #1296

Description

@hzxuzhonghu

What happened:

If we create a httproute first, and several seconds later create gateway, then it cannot be added to store c.store.AddOrUpdateHTTPRoute(httpRoute) Because the gateway not found yet.

informerGateway, err := c.gatewayLister.Gateways(gatewayNamespace).Get(string(parentRef.Name))
if err != nil {
gatewayPending = true
continue

But even later gateway created, the gateway handler does handle the case some httproute may waiting for gateway.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kthena version:
  • Kubernetes version:
  • Others:

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions