Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: add option to set maximum size for file preview #732

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Version 0.9.1 (UNRELEASED)
- Adds new configuration option ``ingress.tls.hosts`` to define hosts that are present in the TLS certificate, in order to support cert-manager's automatic creation of certificates.
- Adds new configuration option ``notifications.email_config.smtp_ssl`` to use SSL when connecting to the SMTP email server.
- Adds new configuration option ``notifications.email_config.smtp_starttls`` to use the STARTTLS command to enable encryption after connecting to the SMTP email server.
- Adds new configuration option ``components.reana_ui.file_preview_size_limit`` to set the maximum file size that can be previewed in the web interface.
- Changes uWSGI configuration to add vacuuming of generated files and sockets.
- Fixes uWSGI memory consumption on systems with very high allowed number of open files.
- Fixes cronjob failures due to database connection issues when REANA is deployed with non-default namespace or prefix.
Expand Down
1 change: 1 addition & 0 deletions helm/reana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
| `components.reana_server.uwsgi.log_5xx` | Log only error HTTP requests with status code 5xx. To make this configuration effective `components.reana_server.uwsgi.log_all` must be false. | true |
| `components.reana_ui.announcement` | Announcement message displayed in site top banner | None |
| `components.reana_ui.enabled` | Instantiate the [REANA-UI](https://github.com/reanahub/reana-ui) | true |
| `components.reana_ui.file_preview_size_limit` | Maximum file size (in bytes) that can be previewed in the web interface. Default value: 5242880 bytes = 5 MiB | 5242880 |
| `components.reana_ui.image` | [REANA-UI image](https://hub.docker.com/r/reanahub/reana-ui) to use | `docker.io/reanahub/reana-ui:<chart-release-version>` |
| `components.reana_ui.imagePullPolicy` | REANA-UI image pull policy | IfNotPresent |
| `components.reana_ui.polling_secs` | Frequency of workflow list page reload in seconds | 15 |
Expand Down
1 change: 1 addition & 0 deletions helm/reana/templates/reana-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ data:
user_confirmation: false
{{- end }}
quota_enabled: {{ .Values.quota.enabled }}
file_preview_size_limit: {{ int .Values.components.reana_ui.file_preview_size_limit }}
1 change: 1 addition & 0 deletions helm/reana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ components:
enabled: true
docs_url: https://docs.reana.io
forum_url: https://forum.reana.io
file_preview_size_limit: 5242880 # 5 * 1024**2 = 5 MiB
imagePullPolicy: IfNotPresent
image: docker.io/reanahub/reana-ui:0.9.1-alpha.3
reana_db:
Expand Down
Loading