This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
namespace: longhorn-system
|
||||
spec:
|
||||
selector:
|
||||
istio: ingressgateway
|
||||
istio: ingressgateway # Holt sich das Standard-Ingress-Gateway
|
||||
servers:
|
||||
- port:
|
||||
number: 443
|
||||
@@ -14,7 +14,8 @@ spec:
|
||||
hosts:
|
||||
- longhorn.k8s.bittehackmichnicht.de
|
||||
tls:
|
||||
mode: PASSTHROUGH
|
||||
mode: SIMPLE # TLS-Termination am Gateway, damit der VirtualService den Traffic aufteilen kann
|
||||
credentialName: istio-cert # Name des TLS-Zertifikats in Kubernetes, das für die Verschlüsselung verwendet wird
|
||||
---
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
@@ -26,12 +27,8 @@ spec:
|
||||
- longhorn.k8s.bittehackmichnicht.de
|
||||
gateways:
|
||||
- longhorn-gateway
|
||||
tls:
|
||||
- match:
|
||||
- port: 443
|
||||
sniHosts:
|
||||
- longhorn.k8s.bittehackmichnicht.de
|
||||
route:
|
||||
http:
|
||||
- route:
|
||||
- destination:
|
||||
host: longhorn-ui.longhorn-system.svc.cluster.local
|
||||
port:
|
||||
|
||||
Reference in New Issue
Block a user