cmd/k8s-operator: remove early return in ingress matching (#17841)

Fixes #17834

Signed-off-by: Sachin Iyer <siyer@detail.dev>
This commit is contained in:
Sachin Iyer
2025-11-12 02:46:40 -08:00
committed by GitHub
parent 85cb64c4ff
commit d37884c734
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -1122,7 +1122,7 @@ func serviceHandlerForIngress(cl client.Client, logger *zap.SugaredLogger, ingre
reqs := make([]reconcile.Request, 0)
for _, ing := range ingList.Items {
if ing.Spec.IngressClassName == nil || *ing.Spec.IngressClassName != ingressClassName {
return nil
continue
}
if hasProxyGroupAnnotation(&ing) {
// We don't want to reconcile backend Services for Ingresses for ProxyGroups.