Istio - Allow templating of multiple hosts and certificate secrets on single gateway
Feature Request
Please allow the creation of multiple hosts utilizing different tls secrets on a single gateway through the Bigbang chart. Its possible to do this in the Istio-controlplane chart, however I'd like to utilize the functionality from Bigbang as well as be able to dynamically create the TLS secrets. For example (Istio Gateway):
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: public
namespace: istio-system
spec:
selector:
app: public-ingressgateway
servers:
- hosts:
- '*'
port:
name: http
number: 8080
protocol: HTTP
tls:
httpsRedirect: true
- hosts:
- '*.public'
port:
name: https
number: 8443
protocol: HTTPS
tls:
credentialName: public-cert
mode: SIMPLE
- hosts:
- "*.local"
port:
name: https-local
number: 8443
protocol: HTTPS
tls:
credentialName: local-cert
mode: SIMPLE
Why
This allows us to do TLS termination of multiple domains on the same ingress gateway.
Proposed Solution
Allow the templating for the Gateways to accept multiple objects for the servers
key as well as the creating of the TLS secrets.
Edited by Austin Denton