Skip to content

Commit

Permalink
helm: add list of allowed workspaces as an environmental variable in …
Browse files Browse the repository at this point in the history
…reana-server

Close reanahub#532
  • Loading branch information
marcdiazsan committed Sep 4, 2021
1 parent 8aeadcd commit 00e7bde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/reana/templates/reana-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ spec:
value: {{ .Values.quota.default_disk_limit | default 0 | quote }}
- name: REANA_KUBERNETES_JOBS_MEMORY_LIMIT
value: {{ .Values.kubernetes_jobs_memory_limit | default "4Gi" }}
{{- if .Values.workspaces }}{{ if .Values.workspaces.paths }}
- name: ADMIN_ALLOWED_WORKSPACES
value: {{ join "," .Values.workspaces.paths }}
{{- end }}{{ end }}
{{- range $key, $value := .Values.db_env_config }}
- name: {{ $key }}
value: {{ $value | quote }}
Expand Down

0 comments on commit 00e7bde

Please sign in to comment.