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 description: Helm chart for offlineimap
name: offlineimap name: offlineimap
type: application type: application
version: 0.0.19 version: 0.0.20
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- offlineimap - offlineimap

View File

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

View File

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