Skip to content

Commit

Permalink
Merge pull request #387 from opendatahub-io/change_protocol_0.12.1
Browse files Browse the repository at this point in the history
[Cherry Pick] Change protocol 0.12.1
  • Loading branch information
openshift-merge-bot[bot] committed Jul 18, 2024
2 parents e99da7a + b8cf2f5 commit 79d3920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/v1beta1/inferenceservice/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2170,7 +2170,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),
}))
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,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{
Expand Down

0 comments on commit 79d3920

Please sign in to comment.