blob: 41970fdc73524924b6ed0cb84377e9d2731a3e2e [file] [log] [blame]
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: {{.Name}}
spec:
hosts:
- b
http:
- route:
- destination:
host: b
mirror:
host: {{.MirrorHost}}
{{- if not .Absent }}
mirrorPercentage:
value: {{.Percent}}
{{- end }}