From a81951925b8a03d9992a92c80ca7e5e8619b188a Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Mon, 10 Mar 2025 05:17:31 -0500 Subject: [PATCH] update --- infra/istio-system/templates/expose.yaml | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 infra/istio-system/templates/expose.yaml diff --git a/infra/istio-system/templates/expose.yaml b/infra/istio-system/templates/expose.yaml new file mode 100644 index 0000000..e15971c --- /dev/null +++ b/infra/istio-system/templates/expose.yaml @@ -0,0 +1,53 @@ +apiVersion: networking.istio.io/v1 +kind: Gateway +metadata: + name: istiod-gateway +spec: + selector: + istio: eastwestgateway + servers: + - port: + name: tls-istiod + number: 15012 + protocol: tls + tls: + mode: PASSTHROUGH + hosts: + - "*" + - port: + name: tls-istiodwebhook + number: 15017 + protocol: tls + tls: + mode: PASSTHROUGH + hosts: + - "*" +--- +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: istiod-vs +spec: + hosts: + - "*" + gateways: + - istiod-gateway + tls: + - match: + - port: 15012 + sniHosts: + - "*" + route: + - destination: + host: istiod.istio-system.svc.cluster.local + port: + number: 15012 + - match: + - port: 15017 + sniHosts: + - "*" + route: + - destination: + host: istiod.istio-system.svc.cluster.local + port: + number: 443