Skip to content

Commit fe1ce0e

Browse files
committed
feat(helm): add value to customise URL of privacy notice (#778)
Closes reanahub/reana-ui#392
1 parent ae90500 commit fe1ce0e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

helm/reana/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ This Helm automatically prefixes all names using the release name to avoid colli
3636
| `components.reana_ui.imagePullPolicy` | REANA-UI image pull policy | IfNotPresent |
3737
| `components.reana_ui.polling_secs` | Frequency of workflow list page reload in seconds | 15 |
3838
| `components.reana_ui.client_pyvenv` | REANA-Client python environment to source in the welcome example. | None |
39-
| `components.reana_ui.docs_url` | URL of documentation site (footer icon) | None |
40-
| `components.reana_ui.forum_url` | URL of forum site (footer icon) | None |
39+
| `components.reana_ui.docs_url` | URL of documentation site (footer icon) | https://docs.reana.io |
40+
| `components.reana_ui.forum_url` | URL of forum site (footer icon) | https://forum.reana.io |
4141
| `components.reana_ui.chat_url` | URL of chat channel (footer icon) | None |
42+
| `components.reana_ui.privacy_notice_url` | URL of the privacy notice (footer icon) | None |
4243
| `components.reana_ui.cern_sso` | Enable CERN SSO sign in | false |
43-
| `components.reana_ui.cern_ropo` | Display CERN RoPO privacy policy page | false |
4444
| `components.reana_ui.local_users` | Enable local users sign in/up | true |
4545
| `components.reana_ui.hide_signup` | Hide users sign up form | false |
4646
| `components.reana_workflow_controller.environment` | REANA-Workflow-Controller environment variables | `{SHARED_VOLUME_PATH: /var/reana}` |

helm/reana/templates/reana-config.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
{{- if .Values.components.reana_ui.cern_ropo }}
3+
{{- fail "`components.reana_ui.cern_ropo` is deprecated, please use `components.reana_ui.privacy_notice_url` instead." }}
4+
{{- end }}
25
apiVersion: v1
36
kind: ConfigMap
47
metadata:
@@ -12,9 +15,9 @@ data:
1215
client_pyvenv: {{ .Values.components.reana_ui.client_pyvenv | quote | default "null" }}
1316
forum_url: {{ .Values.components.reana_ui.forum_url | quote | default "null" }}
1417
chat_url: {{ .Values.components.reana_ui.chat_url | quote | default "null" }}
18+
privacy_notice_url: {{ .Values.components.reana_ui.privacy_notice_url | quote | default "null"}}
1519
cern_sso: {{ .Values.components.reana_ui.cern_sso | default false }}
1620
login_provider_config: {{ .Values.login | toJson }}
17-
cern_ropo: {{ .Values.components.reana_ui.cern_ropo | default false }}
1821
hide_signup: {{ .Values.components.reana_ui.hide_signup | default false }}
1922
admin_email: {{ .Values.notifications.email_config.receiver | quote | default "null" }}
2023
{{- if not (contains "forever" (.Values.interactive_sessions.maximum_inactivity_period | quote)) }}

0 commit comments

Comments
 (0)