Skip to content

Commit

Permalink
Update operator/controllers/seldondeployment_controller.go
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSkolasinski authored Apr 12, 2024
1 parent 5699909 commit 3afeb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/controllers/seldondeployment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down

0 comments on commit 3afeb73

Please sign in to comment.