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:
|
||||
- name: data
|
||||
mountPath: /var/lib/stalwart
|
||||
- name: config
|
||||
mountPath: /opt/stalwart-mail/etc/config.toml
|
||||
subPath: config.toml
|
||||
- name: bootstrap-config
|
||||
mountPath: /etc/stalwart/config.json
|
||||
subPath: config.json
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
|
|
@ -212,9 +212,9 @@ spec:
|
|||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: stalwart-data
|
||||
- name: config
|
||||
- name: bootstrap-config
|
||||
configMap:
|
||||
name: stalwart-config
|
||||
name: stalwart-bootstrap-config
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue