Fix config.php support

This commit is contained in:
Guilhem Lavaux 2024-12-05 08:13:26 +01:00
parent 5835c67019
commit 28dd88f0cc
2 changed files with 4 additions and 4 deletions

View File

@ -54,11 +54,11 @@ spec:
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: "/var/www/html" mountPath: "/var/www/html"
{{- if not (eq "" .Values.config-web.path) }} {{- if not (eq "" .Values.configWeb.path) }}
- name: config - name: config
mountPath: {{ printf "/var/www/html/%s" .Values.config-web.path }} mountPath: {{ printf "/var/www/html/%s" .Values.configWeb.path }}
readOnly: true readOnly: true
subPath: {{ .Values.config-web.key }} subPath: {{ .Values.configWeb.key }}
{{- end}} {{- end}}
env: env:
{{- with .Values.env.plain }} {{- with .Values.env.plain }}

View File

@ -11,7 +11,7 @@ mysql:
postgresql: postgresql:
enabled: false enabled: false
config-web: configWeb:
path: "" path: ""
key: "" key: ""
secretName: "" secretName: ""