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 readOnly: true
subPath: {{ .Values.configWeb.key }} subPath: {{ .Values.configWeb.key }}
{{- end}} {{- end}}
{{- range .Values.extraVolumesWeb }}
- name: {{ .name }}
mountPath: {{ .path }}
{{- end}}
env: env:
{{- with .Values.env.plain }} {{- with .Values.env.plain }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}

View file

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