feat: add tls to chart
This commit is contained in:
parent
5bbbfa3bbb
commit
51cc4adf2f
5 changed files with 16 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v2
|
||||
name: stalwart-mail
|
||||
description: Stalwart is a JMAP, IMAP4 and SMTP server
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
appVersion: 0.8.0
|
||||
maintainers:
|
||||
- name: Tommy Skaug
|
||||
|
|
|
@ -22,6 +22,10 @@ data:
|
|||
protocol = "imap"
|
||||
tls.implicit = true
|
||||
|
||||
[certificate."default"]
|
||||
cert = "%{env:STALWART_TLS_CERT}%"
|
||||
private-key = "%{env:STALWART_TLS_KEY}%"
|
||||
|
||||
[store."rocksdb"]
|
||||
type = "rocksdb"
|
||||
path = "/data"
|
||||
|
|
|
@ -65,6 +65,16 @@ spec:
|
|||
secretKeyRef:
|
||||
name: {{ .Values.existingSecret }}
|
||||
key: STALWART_OAUTH_KEY
|
||||
- name: STALWART_TLS_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.tlsSecret }}
|
||||
key: tls.key
|
||||
- name: STALWART_TLS_CERT
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.tlsSecret }}
|
||||
key: tls.crt
|
||||
volumeMounts:
|
||||
- name: stalwart-data
|
||||
mountPath: /data
|
||||
|
|
|
@ -5,7 +5,6 @@ metadata:
|
|||
labels:
|
||||
{{- include "stalwart-mail.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
|
|
|
@ -11,6 +11,7 @@ ldap:
|
|||
domains: "(&(|(objectClass=posixAccount)(objectClass=posixGroup))(|(mail=*@?)(mailAlias=*@?)))"
|
||||
|
||||
existingSecret: stalwart-mail-secret
|
||||
tlsSecret: stalwart-mail-tls
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue