From 28dd88f0cc45e8d29d3a72a7f484e47b1af20526 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 5 Dec 2024 08:13:26 +0100 Subject: [PATCH] Fix config.php support --- templates/deployment.yaml | 6 +++--- values.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 4e81478..9af97ce 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -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 }} diff --git a/values.yaml b/values.yaml index 99105ea..712c97c 100644 --- a/values.yaml +++ b/values.yaml @@ -11,7 +11,7 @@ mysql: postgresql: enabled: false -config-web: +configWeb: path: "" key: "" secretName: ""