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:
- name: data
mountPath: "/var/www/html"
{{- if not (eq "" .Values.config-web.path) }}
{{- if not (eq "" .Values.configWeb.path) }}
- name: config
mountPath: {{ printf "/var/www/html/%s" .Values.config-web.path }}
mountPath: {{ printf "/var/www/html/%s" .Values.configWeb.path }}
readOnly: true
subPath: {{ .Values.config-web.key }}
subPath: {{ .Values.configWeb.key }}
{{- end}}
env:
{{- with .Values.env.plain }}

View File

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