I updated my istio from 1.5.4 to 1.6.2. Then I try to create the example delegate virtual service as in the istio 1.6 documentation. According to the documentation. for a delegate virtual service the hosts field must be empty. But I get the error:
“Error from server: error when creating “test_delegate_vs.yml”: admission webhook “validation.istio.io”
denied the request: configuration is invalid: virtual service must have at least one host”
The yaml I used to create the delegate virtual service is from the delegate virtual service section of the official istio 1.6 documentation: here
See below for the yaml I use to create the DELEGATE VIRTUAL SERVICE:
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: reviews spec: http: - route: - destination: host: reviews.svc.cluster.local
How should I solve this problem?