gergo/helmDisableFileUpload (#1278)
* style(server): fix formatting * fix(preview-service): fix chromium deps in Dockerfile * feat(helm chart): expose file uploads disable flag in the helm chart
This commit is contained in:
Родитель
492afde5f6
Коммит
848d65b0a0
|
@ -128,6 +128,15 @@ spec:
|
|||
value: "/postgres-certificate/ca-certificate.crt"
|
||||
{{- end }}
|
||||
|
||||
{{- if .Valuse.server.file_uploads.enabled }}
|
||||
- name: DISABLE_FILE_UPLOADS
|
||||
value: "false"
|
||||
{{ else }}
|
||||
- name: DISABLE_FILE_UPLOADS
|
||||
value: "true"
|
||||
{{ end }}
|
||||
|
||||
|
||||
# *** S3 Object Storage ***
|
||||
{{- if (or .Values.s3.configMap.enabled .Values.s3.endpoint) }}
|
||||
{{- $s3values := ((include "server.s3Values" .) | fromJson ) }}
|
||||
|
|
|
@ -530,6 +530,9 @@ server:
|
|||
## access to most secrets on the cluster and access to the Kubernetes API.
|
||||
##
|
||||
create: true
|
||||
fileUploads:
|
||||
## @param server.fileUpload.enabled If enabled, file uploads on the server will be flagged as enabled
|
||||
enabled: true
|
||||
|
||||
monitoring:
|
||||
apollo:
|
||||
|
|
Загрузка…
Ссылка в новой задаче