test avec la lib

This commit is contained in:
Julien Cabillot 2022-04-18 13:55:13 -04:00
parent 768c1d4bd3
commit 786e11266f
3 changed files with 11 additions and 7 deletions

View File

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

View File

@ -3,8 +3,6 @@
{{/* custom render */}}
{{- include "common.pvc" . }}
{{- if .Values.secret -}}
{{ include "common.secret" . | nindent 0 }}
{{- end -}}
{{- end -}}

View File

@ -55,9 +55,15 @@ 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:
- name: dump
persistentVolumeClaim:
claimName: {{ include "common.names.fullname" . }}-dump
{{- nindent 2 . }}
{{- end }}
# volumes:
# - name: dump
# hostPath:
# path:
# type: