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