Skip to content

Commit

Permalink
helm: add reana secret key env var
Browse files Browse the repository at this point in the history
Fixes interactive sessions as workflow-controller calls
`get_owner_access_token()` that needs the `SECRET_KEY` to get the
access_token.

closes #325
  • Loading branch information
mvidalgarcia committed Jun 2, 2020
1 parent d14d8f8 commit 3a7d75d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helm/reana/templates/reana-workflow-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ spec:
secretKeyRef:
name: {{ include "reana.prefix" . }}-cern-gitlab-secrets
key: REANA_GITLAB_HOST
- name: REANA_SECRET_KEY
valueFrom:
secretKeyRef:
name: {{ include "reana.prefix" . }}-secrets
key: REANA_SECRET_KEY
{{- if .Values.debug.enabled }}
- name: WDB_SOCKET_SERVER
value: "{{ include "reana.prefix" . }}-wdb"
Expand Down

0 comments on commit 3a7d75d

Please sign in to comment.