Add extra volume support

This commit is contained in:
Guilhem Lavaux 2024-12-05 11:41:23 +01:00
parent d81ca56401
commit 18dcac6915
2 changed files with 9 additions and 0 deletions

View File

@ -60,6 +60,10 @@ spec:
readOnly: true
subPath: {{ .Values.configWeb.key }}
{{- end}}
{{- range .Values.extraVolumesWeb }}
- name: {{ .name }}
mountPath: {{ .path }}
{{- end}}
env:
{{- with .Values.env.plain }}
{{- toYaml . | nindent 12 }}

View File

@ -42,6 +42,11 @@ ingress:
paths:
- path: /
pathType: Prefix
extraVolumesWeb: []
# - name: blabla-pvc
# path: "/blabla"
# tls:
# enabled: true
# secretName: chart-example-tls