istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/testdata/config/rule-default-route-append-headers.yaml (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: ServiceEntry 3 metadata: 4 name: appendh 5 namespace: testns 6 spec: 7 hosts: 8 - appendh.test.istio.io 9 ports: 10 - number: 80 11 name: http 12 protocol: HTTP 13 resolution: STATIC 14 endpoints: 15 - address: 127.0.0.2 16 ports: 17 http: 7072 18 --- 19 apiVersion: networking.istio.io/v1alpha3 20 kind: VirtualService 21 metadata: 22 name: appendh-route 23 namespace: testns 24 spec: 25 hosts: 26 - appendh.test.istio.io 27 http: 28 - route: 29 - destination: 30 host: appendh.test.istio.io 31 headers: 32 request: 33 add: 34 istio-custom-header: user-defined-value