Skip to content

Commit bd083e9

Browse files
authored
RHOAIENG-30193-fixed-constant-looping (#770)
Signed-off-by: Andres Llausas <[email protected]>
1 parent ed132ac commit bd083e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/controller/v1beta1/inferenceservice/reconcilers/ingress/ingress_reconciler.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ func (ir *IngressReconciler) reconcileExternalService(ctx context.Context, isvc
319319
ObjectMeta: metav1.ObjectMeta{
320320
Name: isvc.Name,
321321
Namespace: isvc.Namespace,
322+
// ODH model controller adds this annotation, need to make sure it's here for ODH and RHOAI
323+
Annotations: map[string]string{
324+
constants.OpenshiftServingCertAnnotation: isvc.Name,
325+
},
322326
},
323327
Spec: corev1.ServiceSpec{
324328
ExternalName: config.LocalGatewayServiceName,

0 commit comments

Comments
 (0)