istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/multicluster/expose-istiod-rev.yaml.tmpl (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 name: istiod-gateway 5 spec: 6 selector: 7 istio: eastwestgateway 8 servers: 9 - port: 10 name: tls-istiod 11 number: 15012 12 protocol: tls 13 tls: 14 mode: PASSTHROUGH 15 hosts: 16 - "*" 17 - port: 18 name: tls-istiodwebhook 19 number: 15017 20 protocol: tls 21 tls: 22 mode: PASSTHROUGH 23 hosts: 24 - "*" 25 --- 26 apiVersion: networking.istio.io/v1alpha3 27 kind: VirtualService 28 metadata: 29 name: istiod-vs-{{.Revision}} 30 spec: 31 hosts: 32 - "*" 33 gateways: 34 - istiod-gateway 35 tls: 36 - match: 37 - port: 15012 38 sniHosts: 39 - "istiod-{{.Revision}}.istio-system.svc" 40 - "istiod-{{.Revision}}.istio-system.svc.cluster.local" 41 route: 42 - destination: 43 host: istiod-{{.Revision}}.istio-system.svc.cluster.local 44 port: 45 number: 15012 46 - match: 47 - port: 15017 48 sniHosts: 49 - "istiod-{{.Revision}}.istio-system.svc" 50 - "istiod-{{.Revision}}.istio-system.svc.cluster.local" 51 route: 52 - destination: 53 host: istiod-{{.Revision}}.istio-system.svc.cluster.local 54 port: 55 number: 443 56