From 3afeb734a77c8ad50a8b91603f5b525f03aa9630 Mon Sep 17 00:00:00 2001 From: Rafal Skolasinski Date: Fri, 12 Apr 2024 15:59:33 +0100 Subject: [PATCH] Update operator/controllers/seldondeployment_controller.go --- operator/controllers/seldondeployment_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/controllers/seldondeployment_controller.go b/operator/controllers/seldondeployment_controller.go index 13368d447e..080b9cd376 100644 --- a/operator/controllers/seldondeployment_controller.go +++ b/operator/controllers/seldondeployment_controller.go @@ -262,7 +262,7 @@ func createIstioResources(mlDep *machinelearningv1.SeldonDeployment, Namespace: namespace, }, Spec: istio_networking.VirtualService{ - Hosts: utils2.GetAnnotation(mlDep, ANNOTATION_ISTIO_HOST, "*"), + Hosts: utils2.HostsFromAnnotation(mlDep, ANNOTATION_ISTIO_HOST, "*"), Gateways: []string{utils2.GetAnnotation(mlDep, ANNOTATION_ISTIO_GATEWAY, istio_gateway)}, Http: []*istio_networking.HTTPRoute{ {