Add tentative support for php ini config
This commit is contained in:
parent
3114197aaa
commit
8383c4330b
3 changed files with 23 additions and 2 deletions
|
@ -66,6 +66,12 @@ spec:
|
|||
- name: {{ .name }}
|
||||
mountPath: {{ .path }}
|
||||
{{- end}}
|
||||
{{- range .Value.extraPhpIni }}
|
||||
- name: php-config
|
||||
mountPath: {{ printf "/usr/local/etc/php/conf.d/%s .conf }}
|
||||
readOnly: true
|
||||
subPath: {{ .key }}
|
||||
{{- end}}
|
||||
env:
|
||||
{{- with .Values.env.plain }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
|
@ -169,6 +175,16 @@ spec:
|
|||
- key: {{ .Values.configWeb.key }}
|
||||
path: {{ .Values.configWeb.key }}
|
||||
{{- end }}
|
||||
{{- if (gt (len .Values.extraPhpIni) 0) }}
|
||||
- name: php-config
|
||||
secret:
|
||||
secretName: php-config-secret
|
||||
{{- range .Values.extraPhpIni }}
|
||||
items:
|
||||
- key: {{ .key }}
|
||||
path: {{ .key }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range .Values.extraVolumesWeb }}
|
||||
- name: {{ .name }}
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue