feat: use cert in traefik
This commit is contained in:
parent
c19271e336
commit
375e477eb7
@ -9,15 +9,13 @@ spec:
|
|||||||
entryPoints:
|
entryPoints:
|
||||||
- {{ $entryport }}
|
- {{ $entryport }}
|
||||||
routes:
|
routes:
|
||||||
{{- range $host := $.Values.traefik.hosts }}
|
{{- range $index, $host := $.Values.traefik.hosts }}
|
||||||
- match: HostSNI(`{{ $host }}`)
|
- match: HostSNI(`{{ $host }}`)
|
||||||
services:
|
services:
|
||||||
- name: {{ include "stalwart-mail.fullname" $ }}
|
- name: {{ include "stalwart-mail.fullname" $ }}
|
||||||
port: {{ $port }}
|
port: {{ $port }}
|
||||||
proxyProtocol:
|
|
||||||
version: 2
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
tls:
|
tls:
|
||||||
passthrough: true
|
secretName: {{ $.Values.traefik.tlsSecretName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -34,6 +34,7 @@ ingress:
|
|||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
tlsSecretName: ''
|
||||||
hosts: []
|
hosts: []
|
||||||
ports:
|
ports:
|
||||||
http: websecure
|
http: websecure
|
||||||
|
Loading…
Reference in New Issue
Block a user