diff --git a/charts/offlineimap/Chart.yaml b/charts/offlineimap/Chart.yaml index bbfee0c..07599e5 100644 --- a/charts/offlineimap/Chart.yaml +++ b/charts/offlineimap/Chart.yaml @@ -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 diff --git a/charts/offlineimap/templates/cronjob.yaml b/charts/offlineimap/templates/cronjob.yaml index 62a1d2b..1b5633f 100644 --- a/charts/offlineimap/templates/cronjob.yaml +++ b/charts/offlineimap/templates/cronjob.yaml @@ -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: \ No newline at end of file + - name: dump + hostPath: + path: /data/volume-offlineimap + type: '' \ No newline at end of file diff --git a/charts/offlineimap/values.yaml b/charts/offlineimap/values.yaml index b47ade0..17f1e7b 100644 --- a/charts/offlineimap/values.yaml +++ b/charts/offlineimap/values.yaml @@ -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 \ No newline at end of file + mountPath: /dump