This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user