fix(stalwart-mail): fix mounts
This commit is contained in:
parent
37cf3add94
commit
728b1b523b
2 changed files with 8 additions and 6 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.7
|
version: 0.1.9
|
||||||
appVersion: 0.8.1
|
appVersion: 0.8.1
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Tommy Skaug
|
- name: Tommy Skaug
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
- name: stalwart-mail
|
- name: stalwart-mail
|
||||||
image: "{{ .Values.image.repository }}:v{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:v{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: ["sh", "-c", "cp /etc/stalwart-mail.conf /etc/stalwart-mail-rw.conf && /usr/local/bin/stalwart-mail --config /etc/stalwart-mail-rw.conf"]
|
command: ["sh", "-c", "cp /config/stalwart-mail.conf /etc/stalwart-mail-rw.conf && /usr/local/bin/stalwart-mail --config /etc/stalwart-mail-rw.conf"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
- containerPort: 443
|
- containerPort: 443
|
||||||
|
@ -83,9 +83,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: stalwart-data
|
- name: stalwart-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
- mountPath: /etc/stalwart-mail.conf
|
- name: stalwart-conf
|
||||||
subPath: stalwart-mail.conf
|
mountPath: /config
|
||||||
name: stalwart-conf
|
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: stalwart-data
|
- name: stalwart-data
|
||||||
|
@ -93,4 +92,7 @@ spec:
|
||||||
claimName: {{ include "stalwart-mail.fullname" . }}
|
claimName: {{ include "stalwart-mail.fullname" . }}
|
||||||
- name: stalwart-conf
|
- name: stalwart-conf
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ .Values.existingConfigMap }}
|
name: {{ .Values.existingConfigMap }}
|
||||||
|
items:
|
||||||
|
- key: configuration.yaml
|
||||||
|
path: stalwart-mail.conf
|
Loading…
Reference in a new issue