Skip to content

SectionNames should not collide #484

@kate-osborn

Description

@kate-osborn

An HTTPRoute can reference multiple Gateways in spec.ParentRefs, and the section names for the Gateways may be the same. For example:

apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: cafe
spec:
  parentRefs:
  - name: gateway-1
    sectionName: http
 - name: gateway-2
    sectionName: http
  hostnames:
  - "cafe.example.com"
  rules:
...

When we build the routes for the graph we assume that the section names are unique across all Gateways in the ParentRefs. This could lead to configuration errors and incomplete statuses.

Acceptance Criteria:

Aha! Link: https://nginx.aha.io/features/NKG-68

Metadata

Metadata

Assignees

Labels

area/httproute/coreRelates to all Core features of HTTPRoutebugSomething isn't workingrefinedRequirements are refined and the issue is ready to be implemented.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions