diff --git a/helm/reana/templates/NOTES.txt b/helm/reana/templates/NOTES.txt index 898a16a7..51b5756d 100644 --- a/helm/reana/templates/NOTES.txt +++ b/helm/reana/templates/NOTES.txt @@ -1 +1,22 @@ -Thanks for flying REANA 🚀 \ No newline at end of file + +The REANA system has been installed: + +There are a few steps left to finalise its configuration + +1. Get the REANA-Server pod name: + + $ REANA_SERVER=$(kubectl get pod -l "app={{ .Release.Name }}-server" -o name -o jsonpath='{.items[0].metadata.name}') + +2. Initialise the database: + + $ kubectl exec $REANA_SERVER -- ./scripts/setup + +2. Create your administrator user and store the token: + + $ kubectl exec $REANA_SERVER -- flask reana-admin create-admin-user user@my.org + + $ read -s REANA_ADMIN_ACCESS_TOKEN # paste the secret here + $ kubectl create secret generic {{ .Release.Name }}-admin-access-token \ + --from-literal=ADMIN_ACCESS_TOKEN='$REANA_ADMIN_ACCESS_TOKEN' + +Thanks for flying REANA 🚀 diff --git a/helm/reana/templates/reana-server.yaml b/helm/reana/templates/reana-server.yaml index d91648a7..13bf5278 100644 --- a/helm/reana/templates/reana-server.yaml +++ b/helm/reana/templates/reana-server.yaml @@ -37,12 +37,12 @@ spec: name: http {{- if .Values.debug.enabled }} command: ["/bin/sh", "-c"] - args: ["set -e; ./scripts/setup; invenio run -h 0.0.0.0 -p 5000"] + args: ["invenio run -h 0.0.0.0 -p 5000"] tty: true stdin: true {{- else }} command: ["/bin/sh", "-c"] - args: ["./scripts/setup > /var/log/reana-server-init-output.log 2>&1 && uwsgi --ini /var/reana/uwsgi/uwsgi.ini"] + args: ["uwsgi --ini /var/reana/uwsgi/uwsgi.ini"] {{- end }} volumeMounts: {{- if .Values.debug.enabled }}