mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-09 08:41:30 -05:00
update
This commit is contained in:
parent
5cccda199f
commit
a81951925b
1 changed files with 53 additions and 0 deletions
53
infra/istio-system/templates/expose.yaml
Normal file
53
infra/istio-system/templates/expose.yaml
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue