Skip to content

backendHTTPRouteIndexFunc() is not adding indexer when Backend kind is ServiceImport #5258

Closed

Description

@muwaqar

Description:
The backendHTTPRouteIndexFunc() in the Kubernetes controller is NOT adding field indexer for when Backend kind is ServiceImport.

for _, backend := range rule.BackendRefs {
	if backend.Kind == nil || string(*backend.Kind) == resource.KindService || string(*backend.Kind) == egv1a1.KindBackend {
		...
	}
}

source:

if backend.Kind == nil || string(*backend.Kind) == resource.KindService || string(*backend.Kind) == egv1a1.KindBackend {

Repro steps:
N/A

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Environment:

Include the environment like gateway version, envoy version and so on.

Logs:

Include the access logs and the Envoy logs.

Activity

  1. added
    kind/bug
    help wanted
    and removed on Feb 11, 2025
  2. added this to the v1.4.0-rc.1 milestone on Feb 11, 2025
  3. removed
    help wanted
    on Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions