istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/reference-policy-tcp.yaml.golden (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 annotations: 5 internal.istio.io/gateway-semantics: gateway 6 internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix 7 internal.istio.io/parents: Gateway/gateway/my-svc.istio-system 8 creationTimestamp: null 9 name: gateway-istio-autogenerated-k8s-gateway-my-svc 10 namespace: istio-system 11 spec: 12 servers: 13 - hosts: 14 - '*/*' 15 port: 16 name: default 17 number: 34000 18 protocol: TCP 19 --- 20 apiVersion: networking.istio.io/v1alpha3 21 kind: Gateway 22 metadata: 23 annotations: 24 internal.istio.io/gateway-semantics: gateway 25 internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix 26 internal.istio.io/parents: Gateway/gateway/echo.istio-system 27 creationTimestamp: null 28 name: gateway-istio-autogenerated-k8s-gateway-echo 29 namespace: istio-system 30 spec: 31 servers: 32 - hosts: 33 - '*/*' 34 port: 35 name: default 36 number: 34001 37 protocol: TCP 38 --- 39 apiVersion: networking.istio.io/v1alpha3 40 kind: VirtualService 41 metadata: 42 annotations: 43 internal.istio.io/parents: TCPRoute/allowed-my-svc.istio-system 44 internal.istio.io/route-semantics: gateway 45 creationTimestamp: null 46 name: allowed-my-svc-tcp-0-istio-autogenerated-k8s-gateway 47 namespace: istio-system 48 spec: 49 gateways: 50 - istio-system/gateway-istio-autogenerated-k8s-gateway-my-svc 51 hosts: 52 - '*' 53 tcp: 54 - route: 55 - destination: 56 host: my-svc.service.svc.domain.suffix 57 port: 58 number: 34000 59 --- 60 apiVersion: networking.istio.io/v1alpha3 61 kind: VirtualService 62 metadata: 63 annotations: 64 internal.istio.io/parents: TCPRoute/not-allowed-echo.istio-system 65 internal.istio.io/route-semantics: gateway 66 creationTimestamp: null 67 name: not-allowed-echo-tcp-0-istio-autogenerated-k8s-gateway 68 namespace: istio-system 69 spec: 70 gateways: 71 - istio-system/gateway-istio-autogenerated-k8s-gateway-echo 72 hosts: 73 - '*' 74 tcp: 75 - route: 76 - destination: {} 77 ---