switch to zot
This commit is contained in:
39
charts/network-base/templates/gateway.yaml
Normal file
39
charts/network-base/templates/gateway.yaml
Normal file
@ -0,0 +1,39 @@
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: {{ include "network-base.fullname" . }}
|
||||
labels:
|
||||
{{- include "network-base.labels" $ | nindent 4 }}
|
||||
spec:
|
||||
selector:
|
||||
istio: ingressgateway
|
||||
servers:
|
||||
- hosts:
|
||||
- {{ .Values.domain }}
|
||||
- "*.{{ .Values.domain }}"
|
||||
port:
|
||||
name: grpc-web
|
||||
number: 8080
|
||||
protocol: HTTPS
|
||||
tls:
|
||||
credentialName: {{ include "network-base.fullname" . }}-cert
|
||||
mode: SIMPLE
|
||||
- hosts:
|
||||
- {{ .Values.domain }}
|
||||
- "*.{{ .Values.domain }}"
|
||||
port:
|
||||
name: http
|
||||
number: 80
|
||||
protocol: HTTP2
|
||||
tls:
|
||||
httpsRedirect: true
|
||||
- hosts:
|
||||
- {{ .Values.domain }}
|
||||
- "*.{{ .Values.domain }}"
|
||||
port:
|
||||
name: https
|
||||
number: 443
|
||||
protocol: HTTPS
|
||||
tls:
|
||||
credentialName: {{ include "network-base.fullname" . }}-cert
|
||||
mode: SIMPLE
|
Reference in New Issue
Block a user