fix longhorn config
All checks were successful
Mirror to GitHub / mirror (push) Successful in 9s

This commit is contained in:
jona.klaess
2026-06-09 17:18:21 +02:00
parent f357f7aae6
commit 8522ec64c8

View File

@@ -5,7 +5,7 @@ metadata:
namespace: longhorn-system namespace: longhorn-system
spec: spec:
selector: selector:
istio: ingressgateway istio: ingressgateway # Holt sich das Standard-Ingress-Gateway
servers: servers:
- port: - port:
number: 443 number: 443
@@ -14,7 +14,8 @@ spec:
hosts: hosts:
- longhorn.k8s.bittehackmichnicht.de - longhorn.k8s.bittehackmichnicht.de
tls: 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 apiVersion: networking.istio.io/v1beta1
kind: VirtualService kind: VirtualService
@@ -26,12 +27,8 @@ spec:
- longhorn.k8s.bittehackmichnicht.de - longhorn.k8s.bittehackmichnicht.de
gateways: gateways:
- longhorn-gateway - longhorn-gateway
tls: http:
- match: - route:
- port: 443
sniHosts:
- longhorn.k8s.bittehackmichnicht.de
route:
- destination: - destination:
host: longhorn-ui.longhorn-system.svc.cluster.local host: longhorn-ui.longhorn-system.svc.cluster.local
port: port: