From 8522ec64c876496a2d39e393fc9f9548222e0c70 Mon Sep 17 00:00:00 2001 From: "jona.klaess" Date: Tue, 9 Jun 2026 17:18:21 +0200 Subject: [PATCH] fix longhorn config --- longhorn/longhorn-istio.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/longhorn/longhorn-istio.yaml b/longhorn/longhorn-istio.yaml index 993ee69..a47ed58 100644 --- a/longhorn/longhorn-istio.yaml +++ b/longhorn/longhorn-istio.yaml @@ -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: