blob: d6db3b9316a2bc8eb55174cf7338ef83af12929b [file] [log] [blame]
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: {{.Name}}
namespace: {{.Namespace}}
spec:
hosts:
- {{.Host0}}
http:
- route:
- destination:
host: {{.Host0}}
weight: {{.Weight0}}
- destination:
host: {{.Host1}}
weight: {{.Weight1}}
- destination:
host: {{.Host2}}
weight: {{.Weight2}}