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{ {