fix(stalwart): Add config.json to load web UI configuration
- Mount /etc/stalwart/config.json pointing to RocksDB - Allows Stalwart to load configuration from web UI setup - Resolves bootstrap mode loop Refs: DEV-206 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
843affde05
commit
0d4d9b9adf
1 changed files with 5 additions and 5 deletions
|
|
@ -182,9 +182,9 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /var/lib/stalwart
|
mountPath: /var/lib/stalwart
|
||||||
- name: config
|
- name: bootstrap-config
|
||||||
mountPath: /opt/stalwart-mail/etc/config.toml
|
mountPath: /etc/stalwart/config.json
|
||||||
subPath: config.toml
|
subPath: config.json
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
|
|
@ -212,9 +212,9 @@ spec:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: stalwart-data
|
claimName: stalwart-data
|
||||||
- name: config
|
- name: bootstrap-config
|
||||||
configMap:
|
configMap:
|
||||||
name: stalwart-config
|
name: stalwart-bootstrap-config
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue