39 lines
820 B
YAML
39 lines
820 B
YAML
apiVersion: networking.istio.io/v1beta1
|
|
kind: Gateway
|
|
metadata:
|
|
name: longhorn-gateway
|
|
namespace: longhorn-system
|
|
spec:
|
|
selector:
|
|
istio: ingressgateway
|
|
servers:
|
|
- port:
|
|
number: 443
|
|
name: https-longhorn
|
|
protocol: HTTPS
|
|
hosts:
|
|
- longhorn.k8s.bittehackmichnicht.de
|
|
tls:
|
|
mode: PASSTHROUGH
|
|
---
|
|
apiVersion: networking.istio.io/v1beta1
|
|
kind: VirtualService
|
|
metadata:
|
|
name: longhorn-vs
|
|
namespace: longhorn-system
|
|
spec:
|
|
hosts:
|
|
- longhorn.k8s.bittehackmichnicht.de
|
|
gateways:
|
|
- longhorn-gateway
|
|
tls:
|
|
- match:
|
|
- port: 443
|
|
sniHosts:
|
|
- longhorn.k8s.bittehackmichnicht.de
|
|
route:
|
|
- destination:
|
|
host: longhorn-ui.longhorn-system.svc.cluster.local
|
|
port:
|
|
number: 80
|