feat: add db

This commit is contained in:
Julien Cabillot 2022-04-18 15:17:31 -04:00
parent 3718eedd31
commit 5b6200f6e5
3 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
description: Helm chart for offlineimap
name: offlineimap
type: application
version: 0.0.19
version: 0.0.20
kubeVersion: ">=1.16.0-0"
keywords:
- offlineimap

View File

@ -60,8 +60,14 @@ spec:
volumeMounts:
- name: dump
mountPath: /dump
- name: db
mountPath: /home/offlineimap/.offlineimap
volumes:
- name: dump
hostPath:
path: /data/volume-offlineimap
type: ''
- name: db
hostPath:
path: /data/volume-offlineimap-db
type: ''

View File

@ -42,3 +42,8 @@ persistence:
type: hostPath
hostPath: /data/volume-offlineimap
mountPath: /dump
db:
enabled: true
type: hostPath
hostPath: /data/volume-offlineimap-db
mountPath: /home/offlineimap/.offlineimap