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

View File

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

View File

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