diff --git a/charts/platform-api/Chart.yaml b/charts/platform-api/Chart.yaml index f0ea61d..f24d8a2 100644 --- a/charts/platform-api/Chart.yaml +++ b/charts/platform-api/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 name: ushahidi-platform-api -version: 0.0.1-alpha.21 +version: 0.0.1-alpha.22 icon: https://github.ushahidi.org/helm-charts/icon.png diff --git a/charts/platform-api/templates/api-worker.yml b/charts/platform-api/templates/api-worker.yml index 8486251..f1acd8d 100644 --- a/charts/platform-api/templates/api-worker.yml +++ b/charts/platform-api/templates/api-worker.yml @@ -176,7 +176,7 @@ spec: value: {{ .Values.api.params.upload_max_filesize | quote }} - name: PHP_POST_MAX_SIZE value: {{ .Values.api.params.upload_max_filesize | quote }} - - name: MEDIA_MAX_UPLOAD + - name: IMAGE_MAX_SIZE value: {{ .Values.api.params.media_max_upload | quote }} {{- if .Values.config.shared_secret }} - name: PLATFORM_SHARED_SECRET diff --git a/charts/platform-api/values.yaml b/charts/platform-api/values.yaml index 70298b0..33b9f1b 100644 --- a/charts/platform-api/values.yaml +++ b/charts/platform-api/values.yaml @@ -117,8 +117,8 @@ api: debug: "False" params: php_exec_time_limit: 60 - upload_max_filesize: 2m - media_max_upload: '2000000' + upload_max_filesize: 2m # this should match the value below with units + image_max_size: '2000000' # this should match the previous value but in bytes limits: cpu: "1" memory: "1Gi"