Skip to content

Commit

Permalink
helm: control ui signup form visibility with configs
Browse files Browse the repository at this point in the history
addresses reanahub#469
  • Loading branch information
audrium committed Jan 4, 2021
1 parent 95df4cf commit b7185b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/reana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
| `components.reana_server.environment` | REANA-Server environment variables | {REANA_MAX_CONCURRENT_BATCH_WORKFLOWS: 30} |
| `components.reana_server.image` | [REANA-Server image](https://hub.docker.com/r/reanahub/reana-server) to use | `reanahub/reana-server:<chart-release-version>` |
| `components.reana_server.imagePullPolicy` | REANA-Server image pull policy | IfNotPresent |
| `components.reana_server.uwsgi.processes` | Number of uWSGI processes | 6 |
| `components.reana_server.uwsgi.processes` | Number of uWSGI processes | 6 |
| `components.reana_server.uwsgi.threads` | Number of uWSGI threads | 4 |
| `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 |
Expand All @@ -28,6 +28,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
| `components.reana_ui.chat_url` | URL of chat channel (footer icon) | None |
| `components.reana_ui.cern_sso` | Enable CERN SSO sign in | false |
| `components.reana_ui.local_users` | Enable local users sign in/up | true |
| `components.reana_ui.hide_signup` | Hide users sign up form | false |
| `components.reana_workflow_controller.environment` | REANA-Workflow-Controller environment variables | `{SHARED_VOLUME_PATH: /var/reana}` |
| `components.reana_workflow_controller.image` | [REANA-Workflow-Controller image](https://hub.docker.com/r/reanahub/reana-workflow-controller) to use | `reanahub/reana-workflow-controller:<chart-release-version>` |
| `components.reana_workflow_controller.imagePullPolicy` | REANA-Workflow-Controller image pull policy | IfNotPresent |
Expand Down
2 changes: 2 additions & 0 deletions helm/reana/templates/ui-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ data:
forum_url: {{ .Values.components.reana_ui.forum_url | quote | default "null" }}
chat_url: {{ .Values.components.reana_ui.chat_url | quote | default "null" }}
cern_sso: {{ .Values.components.reana_ui.cern_sso | default false }}
hide_signup: {{ .Values.components.reana_ui.hide_signup | default false }}
admin_email: {{ .Values.notifications.email_config.receiver | default "null" }}
{{- if or (.Values.components.reana_ui.local_users) (eq (.Values.components.reana_ui.local_users | toString) "<nil>") }}
local_users: true
{{- else }}
Expand Down

0 comments on commit b7185b9

Please sign in to comment.