2019-02-19 17:32:14 +00:00
|
|
|
# Note: Gateways cannot share the same TLS certificates so this wild card
|
|
|
|
# gateway should be used for all services requesting *.prylabs.net.
|
|
|
|
# See: https://github.com/istio/istio/issues/9429
|
|
|
|
apiVersion: networking.istio.io/v1alpha3
|
|
|
|
kind: Gateway
|
|
|
|
metadata:
|
|
|
|
name: prylabs-wildcard-gateway
|
|
|
|
namespace: istio-system
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
istio: ingressgateway
|
|
|
|
servers:
|
|
|
|
- port:
|
|
|
|
number: 80
|
|
|
|
name: http
|
|
|
|
protocol: HTTP
|
|
|
|
hosts:
|
2019-03-07 16:14:57 +00:00
|
|
|
- "*.prylabs.net"
|
2019-04-29 04:09:31 +00:00
|
|
|
- "prylabs.net"
|
2019-02-19 17:32:14 +00:00
|
|
|
tls:
|
2019-05-05 19:04:28 +00:00
|
|
|
httpsRedirect: true
|
2019-02-19 17:32:14 +00:00
|
|
|
- port:
|
|
|
|
number: 443
|
|
|
|
name: https
|
|
|
|
protocol: HTTPS
|
|
|
|
hosts:
|
|
|
|
- "*.prylabs.net"
|
2019-04-29 04:09:31 +00:00
|
|
|
- "prylabs.net"
|
2019-02-19 17:32:14 +00:00
|
|
|
tls:
|
|
|
|
mode: SIMPLE
|
|
|
|
privateKey: /etc/istio/ingressgateway-certs/tls.key
|
|
|
|
serverCertificate: /etc/istio/ingressgateway-certs/tls.crt
|