Hi all,
We are currently integrating keycloak, deployed via Keycloak-operator, with Istio's VirtualService and Gateway.
Is tls mode: PASSTHROUGH the only way to expose the keycloak service to Istio's gateway?, e.g:
VirtualService manifest:
```yaml
---
apiVersion:
networking.istio.io/v1alpha3kind: VirtualService
metadata:
name: keycloak
namespace: istio-system
spec:
hosts:
-
example.com gateways:
- my-gateway
tls:
- match:
- port: 443
sniHosts:
-
example.com route:
- destination:
host: keycloak.default.svc.cluster.local
port:
number: 8443
```
Gateway manifest:
```yaml
apiVersion:
networking.istio.io/v1alpha3kind: Gateway
metadata:
name: my-gateway
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- '*'
port:
name: tls
number: 443
protocol: TLS
tls:
mode: PASSTHROUGH
```
We would like to host more applications using the same domain name (e.g
example.com for keycloak and
example.com/frontend for another frontend service) but because keycloak requires passthrough we need to have a specific gateway for it.
Thank you and best regards.
--
Gerardo Gomez
Cloud Platform Engineer
E ger...@katulu.io
Katulu GmbH
Gertigstraße 48
22303 Hamburg
Amtsgericht Hamburg - HRB 151721
Geschäftsführer: Michael Kühne-Schlinkert, Anne Mareike Schlinkert