still fixing stuff
This commit is contained in:
parent
01ad714f1c
commit
5d965dbc9a
29
helm/istio/templates/gateway.yaml
Normal file
29
helm/istio/templates/gateway.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
apiVersion: networking.istio.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: my-gateway
|
||||
namespace: some-config-namespace
|
||||
spec:
|
||||
selector:
|
||||
app: my-gateway-controller
|
||||
servers:
|
||||
- port:
|
||||
number: 80
|
||||
name: http
|
||||
protocol: HTTP
|
||||
hosts:
|
||||
- '*.apps.linvogel.internal'
|
||||
- '*.apps.linvogel.ch'
|
||||
tls:
|
||||
httpsRedirect: true # sends 301 redirect for http requests
|
||||
- port:
|
||||
number: 443
|
||||
name: https
|
||||
protocol: HTTPS
|
||||
hosts:
|
||||
- '*.apps.linvogel.internal'
|
||||
- '*.apps.linvogel.ch'
|
||||
tls:
|
||||
mode: SIMPLE # enables HTTPS on this port
|
||||
serverCertificate: /etc/certs/servercert.pem
|
||||
privateKey: /etc/certs/privatekey.pem
|
||||
Loading…
x
Reference in New Issue
Block a user