Is it possible to use a Gateway deployment like this:
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: emea-int-mg0001-r0001-gw-tswxc2
namespace: istio-system
spec:
selector:
app: emea-int-mg0001 # use istio default ingress gateway
servers:
- port:
number: 443
name: https
protocol: HTTPS
hosts:
- dummy.com
tls:
mode: MUTUAL
credentialName: test.test
subjectAltNames:
- test.daimler.com
- port:
number: 443
name: https2
protocol: HTTPS
hosts:
- dummy.com
tls:
mode: SIMPLE
credentialName: test.test
subjectAltNames:
- asdf.daimler.com
Question is, can I use TLS mode SIMPLE and TLS mode MUTUAL on the same port 443 just with a differnet port-name?
We are trying to figure out how it would be possible to use a Gateway deployment with the same host/port combination but with different TLS modes. As far as I know, we cannot use the same Gateway with host/port combination twice - that is why this question came up on my head.
Atleast when I deploy it like that, I dont see any error during “istioctl analyze”.
Is the above configuration viable?
Thanks alot!