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: ""