1{ 2 "istio/networking/v1alpha3/virtualservices": [ 3 { 4 "Metadata": { 5 "name": "{{.Namespace}}/valid-virtual-service" 6 }, 7 "Body": { 8 "hosts": [ 9 "c" 10 ], 11 "http": [ 12 { 13 "route": [ 14 { 15 "destination": { 16 "host": "c", 17 "subset": "v1" 18 }, 19 "weight": 75 20 }, 21 { 22 "destination": { 23 "host": "c", 24 "subset": "v2" 25 }, 26 "weight": 25 27 } 28 ] 29 } 30 ] 31 }, 32 "TypeURL": "type.googleapis.com/istio.networking.v1alpha3.VirtualService" 33 } 34 ] 35} 36