diff --git a/pkg/controller/v1beta1/inferenceservice/controller_test.go b/pkg/controller/v1beta1/inferenceservice/controller_test.go index b9aa13ada4..e493bc92c1 100644 --- a/pkg/controller/v1beta1/inferenceservice/controller_test.go +++ b/pkg/controller/v1beta1/inferenceservice/controller_test.go @@ -1871,7 +1871,7 @@ var _ = Describe("v1beta1 inference service controller", func() { Host: constants.InferenceServiceHostName(constants.PredictorServiceName(serviceKey.Name), serviceKey.Namespace, domain), })) Expect(actualIsvc.Status.Address.URL).To(gomega.Equal(&apis.URL{ - Scheme: "http", + Scheme: "https", Host: network.GetServiceHostname(fmt.Sprintf("%s-%s", serviceKey.Name, string(constants.Predictor)), serviceKey.Namespace), })) }) diff --git a/pkg/controller/v1beta1/inferenceservice/reconcilers/ingress/ingress_reconciler.go b/pkg/controller/v1beta1/inferenceservice/reconcilers/ingress/ingress_reconciler.go index ae1a9aa3ce..4f00c9204d 100644 --- a/pkg/controller/v1beta1/inferenceservice/reconcilers/ingress/ingress_reconciler.go +++ b/pkg/controller/v1beta1/inferenceservice/reconcilers/ingress/ingress_reconciler.go @@ -611,7 +611,7 @@ func (ir *IngressReconciler) Reconcile(isvc *v1beta1.InferenceService) error { isvc.Status.Address = &duckv1.Addressable{ URL: &apis.URL{ Host: network.GetServiceHostname(hostPrefix, isvc.Namespace), - Scheme: "http", + Scheme: "https", }, } isvc.Status.SetCondition(v1beta1.IngressReady, &apis.Condition{