Skip to content

Commit

Permalink
helm: add env variable for session inactivity to server
Browse files Browse the repository at this point in the history
Adds an env variable that contains the maximum number of days for which
an interactive session can stay inactive before being automatically
closed.

Closes reanahub/reana-client#657
  • Loading branch information
giuseppe-steduto committed Jul 4, 2023
1 parent 0a0c4c6 commit 78cb8b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/reana/templates/reana-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ spec:
{{- end }}
- name: REANA_KUBERNETES_JOBS_MAX_USER_TIMEOUT_LIMIT
value: !!str {{ .Values.kubernetes_jobs_max_user_timeout_limit | default 1209600 }} # 1209600 seconds = 14 days
- name: REANA_INTERACTIVE_SESSION_MAX_INACTIVITY_PERIOD
value: {{ .Values.interactive_sessions.maximum_inactivity_period | default "forever" | quote }}
- name: REANA_KUBERNETES_JOBS_TIMEOUT_LIMIT
value: !!str {{ .Values.kubernetes_jobs_timeout_limit | default 604800 }} # 604800 seconds = 7 days
- name: REANA_KUBERNETES_JOBS_MEMORY_LIMIT
Expand Down

0 comments on commit 78cb8b1

Please sign in to comment.