Updated config map for unit

This commit is contained in:
2023-06-04 09:58:43 +00:00
parent ce6dd633ba
commit dd43ea5ff5
2 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.5.12" HELM_CHART_VERSION: "0.5.13"
stages: stages:
- deploy - deploy

View File

@@ -151,7 +151,7 @@ data:
"type": "php", "type": "php",
"options": { "options": {
"user": { "user": {
"display_errors": "{{ .Values.site.displayErrors | default "0" }}" "display_errors": "{{ .Values.site.displayErrors | default "0" }}",
"log_errors": "{{ .Values.site.logErrors | default "1" }}" "log_errors": "{{ .Values.site.logErrors | default "1" }}"
}, },
"admin": { "admin": {
@@ -159,8 +159,6 @@ data:
"short_open_tag": "Off", "short_open_tag": "Off",
"disable_functions": "exec,passthru,shell_exec,system,proc_open,popen,show_source", "disable_functions": "exec,passthru,shell_exec,system,proc_open,popen,show_source",
"log_errors": "On", "log_errors": "On",
"date.timezone": "{{ .Values.customer.timezone | default "Europe/Stockholm" }}",
{{- if and .Values.advanced .Values.advanced.php .Values.advanced.php.additionalAdminValues }} {{- if and .Values.advanced .Values.advanced.php .Values.advanced.php.additionalAdminValues }}
{{- range $k, $v := .Values.advanced.php.additionalAdminValues }} {{- range $k, $v := .Values.advanced.php.additionalAdminValues }}
"{{ $k }}": "{{ $v }}", "{{ $k }}": "{{ $v }}",
@@ -172,6 +170,7 @@ data:
"max_execution_time": "{{ .Values.site.resources.php.executionTime | default "300" }}", "max_execution_time": "{{ .Values.site.resources.php.executionTime | default "300" }}",
"max_input_time": "{{ .Values.site.resources.php.inputTime | default "300" }}", "max_input_time": "{{ .Values.site.resources.php.inputTime | default "300" }}",
{{- end }} {{- end }}
"date.timezone": "{{ .Values.customer.timezone | default "Europe/Stockholm" }}"
} }
}, },
"targets": { "targets": {