diff --git a/internal/provider/kubernetes/controller.go b/internal/provider/kubernetes/controller.go index 9ed0445fe3..07370f27e0 100644 --- a/internal/provider/kubernetes/controller.go +++ b/internal/provider/kubernetes/controller.go @@ -215,8 +215,7 @@ func (r *gatewayAPIReconciler) Reconcile(ctx context.Context, _ reconcile.Reques string(gwapiv1.GatewayClassReasonInvalidParameters), msg) r.resources.GatewayClassStatuses.Store(utils.NamespacedName(gc), &gc.Status) - r.log.Error(err, "failed to process parametersRef for gatewayclass", "name", managedGC.Name) - return reconcile.Result{}, err + return reconcile.Result{}, nil } } diff --git a/release-notes/current.yaml b/release-notes/current.yaml index c995a3e06b..08c25ee2ee 100644 --- a/release-notes/current.yaml +++ b/release-notes/current.yaml @@ -33,6 +33,7 @@ bug fixes: | Fix an issue that stats compressor was not working. Added support for BackendTLSPolicy and EnvoyExtensionPolicy parsing in Standalone mode. Retrigger reconciliation when backendRef of type ServiceImport is updated or when EndpointSlice(s) for a ServiceImport are updated. + Fix not logging an error and returning it in the K8s Reconcile method when a GatewayClass is not accepted. # Enhancements that improve performance. performance improvements: |