Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
muwaqar opened this issue Feb 11, 2025 · 0 comments
Labels
help wanted Extra attention is needed kind/bug Something isn't working
Milestone

Comments

@muwaqar
Copy link

muwaqar commented Feb 11, 2025

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.

@muwaqar muwaqar added the triage label Feb 11, 2025
@arkodg arkodg added kind/bug Something isn't working help wanted Extra attention is needed and removed triage labels Feb 11, 2025
@arkodg arkodg added this to the v1.4.0-rc.1 milestone Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants