From f9c51045c2130c8f56f40fc667096a0c88828192 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Tue, 9 Aug 2022 18:32:23 -0500 Subject: [PATCH] feat: update cloud-server helm-chart add PHP_MEMORY_LIMIT env variable --- charts/cloud-server/Chart.yaml | 2 +- charts/cloud-server/templates/cloud-server.yml | 4 +++- charts/cloud-server/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/cloud-server/Chart.yaml b/charts/cloud-server/Chart.yaml index e19e177..f41de6c 100644 --- a/charts/cloud-server/Chart.yaml +++ b/charts/cloud-server/Chart.yaml @@ -5,4 +5,4 @@ maintainers: - email: dustin@elegantthemes.com name: Elegant Themes name: cloud-server -version: 1.0.3 +version: 1.0.4 diff --git a/charts/cloud-server/templates/cloud-server.yml b/charts/cloud-server/templates/cloud-server.yml index 452509e..1604723 100644 --- a/charts/cloud-server/templates/cloud-server.yml +++ b/charts/cloud-server/templates/cloud-server.yml @@ -82,6 +82,8 @@ spec: value: {{ .Values.CLOUD_SERVER_REPO_URL | squote }} - name: IMAGE_VERSION value: {{ .Values.CLOUD_SERVER_VERSION | squote }} + - name: PHP_MEMORY_LIMIT + value: {{ .Values.PHP_MEMORY_LIMIT | squote }} - name: PHP_OPCACHE_FILE_CACHE value: {{ ternary "/var/cache/php" "" (eq "production" .Values.WP_ENV) | squote }} - name: PHP_OPCACHE_VALIDATE_TIMESTAMPS @@ -123,7 +125,7 @@ spec: memory: 100Mi limits: cpu: 4000m - memory: 1024Mi + memory: 3G startupProbe: exec: command: diff --git a/charts/cloud-server/values.yaml b/charts/cloud-server/values.yaml index f6816cc..de80319 100644 --- a/charts/cloud-server/values.yaml +++ b/charts/cloud-server/values.yaml @@ -30,6 +30,8 @@ LOGGED_IN_SALT: NONCE_KEY: NONCE_SALT: +PHP_MEMORY_LIMIT: + S3_BUCKET_CLOUD_ITEMS: S3_BUCKET_CLOUD_ITEMS_BACKUP_1: S3_BUCKET_CLOUD_ITEMS_BACKUP_2: