Add customization for proc values

This commit is contained in:
Lars
2023-09-13 14:05:07 +02:00
parent 9793780639
commit 041946b804
3 changed files with 7 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "1.0.14" HELM_CHART_VERSION: "1.0.15"
stages: stages:
- deploy - deploy

View File

@@ -108,7 +108,7 @@ data:
"match": { "match": {
"uri": [ "uri": [
"/wp-admin", "/wp-admin",
"/wp-admin/*", "/wp-admin/*"
] ]
} }
}, },
@@ -183,9 +183,9 @@ data:
"php": { "php": {
"type": "php", "type": "php",
"processes": { "processes": {
"max": 10, "max": {{ .Values.php.maxProc | default 5 }},
"spare": 1, "spare": {{ .Values.php.spareProc | default 1 }},
"idle_timeout": 20 "idle_timeout": {{ .Values.php.procIdleTimeout | default 65 }}
}, },
"options": { "options": {
"user": { "user": {

View File

@@ -154,12 +154,10 @@ email:
emails: emails:
- email - email
unit: php:
maxProc: 5 maxProc: 5
spareProc: 2 spareProc: 2
spareProcTimeout: 30 procIdleTimeout: 65
php:
logErrors: "On" logErrors: "On"
displayErrors: "Off" displayErrors: "Off"
additionalValues: {} additionalValues: {}