This commit is contained in:
Julien Cabillot 2022-04-18 13:56:50 -04:00
parent 786e11266f
commit 7035865bb6
3 changed files with 7 additions and 11 deletions

View File

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

View File

@ -55,15 +55,10 @@ spec:
{{- end }}
{{- end }}
volumeMounts:
# TODO: ici on pourrait essayer de simplement faire un include common.controller.volumeMounts
- name: dump
mountPath: /dump
{{- with (include "common.controller.volumes" . | trim) }}
volumes:
{{- nindent 2 . }}
{{- end }}
# volumes:
# - name: dump
# hostPath:
# path:
# type:
- name: dump
hostPath:
path: /data/volume-offlineimap
type: ''

View File

@ -33,9 +33,10 @@ cronjob:
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 5
# TODO: le prendre en compte :)
persistence:
dump:
enabled: true
type: hostPath
hostPath: /data/volume-offlineimap
mountPath: /dump
mountPath: /dump