From 3742e7330e2ec0e22fab6b9fb12499f315b6b040 Mon Sep 17 00:00:00 2001 From: ffais Date: Tue, 12 Nov 2024 15:31:23 +0100 Subject: [PATCH] fix: added additional php parameters Signed-off-by: ffais --- wordpress/Chart.yaml | 2 +- wordpress/confs/php/zz-custom-php.ini | 1 + wordpress/templates/wordpress-update-all-cronjob.yaml | 1 + wordpress/values.yaml | 3 ++- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wordpress/Chart.yaml b/wordpress/Chart.yaml index dd16e6b..836edf3 100644 --- a/wordpress/Chart.yaml +++ b/wordpress/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: wordpress description: A Helm chart for Wordpress on Kubernetes with NGINX and PHP-FPM type: application -version: 0.1.3 +version: 0.1.4 appVersion: "6.2.2" dependencies: - name: mariadb diff --git a/wordpress/confs/php/zz-custom-php.ini b/wordpress/confs/php/zz-custom-php.ini index b8472de..bd73250 100644 --- a/wordpress/confs/php/zz-custom-php.ini +++ b/wordpress/confs/php/zz-custom-php.ini @@ -3,3 +3,4 @@ max_execution_time = {{ .Values.php.iniConfigOverride.maxExecutionTime }} post_max_size = {{ .Values.php.iniConfigOverride.postMaxSize }} max_input_time = {{ .Values.php.iniConfigOverride.maxInputTime }} upload_max_filesize = {{ .Values.php.iniConfigOverride.uploadMaxFileSize }} +max_input_vars = {{ .Values.php.iniConfigOverride.maxInputVars }} diff --git a/wordpress/templates/wordpress-update-all-cronjob.yaml b/wordpress/templates/wordpress-update-all-cronjob.yaml index fdf711a..c6f8b03 100644 --- a/wordpress/templates/wordpress-update-all-cronjob.yaml +++ b/wordpress/templates/wordpress-update-all-cronjob.yaml @@ -10,6 +10,7 @@ spec: jobTemplate: spec: ttlSecondsAfterFinished: {{ .Values.jobs.common.ttlSecondsAfterFinished }} + backoffLimit: 0 template: metadata: name: {{ include "wordpress.fullname" (dict "root" . "component" "update-job") }} diff --git a/wordpress/values.yaml b/wordpress/values.yaml index 3dd2c64..0877c68 100644 --- a/wordpress/values.yaml +++ b/wordpress/values.yaml @@ -126,7 +126,8 @@ php: memoryLimit: 256M maxExecutionTime: 300 postMaxSize: 100M - maxInputTime: 90 + maxInputTime: 300 + maxInputVars: 3000 uploadMaxFileSize: 100M poolConfigOverride: pm: "dynamic"