Commit b2225f86 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added datacite to helm.

parent ea8d2df3
Pipeline #67711 passed with stages
in 15 minutes and 8 seconds
......@@ -19,7 +19,7 @@ worker:
routing: "queue"
processes: 10
nomadNodeType: "prod-worker"
elastic:
port: 9202
......@@ -41,3 +41,6 @@ volumes:
staging: /nomad/fairdi/prod_v0.7/fs/staging
tmp: /nomad/fairdi/prod_v0.7/fs/tmp
nomad: /nomad
datacite:
secret: 'nomad-datacite'
......@@ -137,6 +137,18 @@ spec:
name: {{ .Values.keycloak.passwordSecret }}
key: password
{{ end }}
{{ if .Values.datacite.secret }}
- name: NOMAD_DATACITE_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.datacite.secret }}
key: password
- name: NOMAD_DATACITE_USER
valueFrom:
secretKeyRef:
name: {{ .Values.datacite.secret }}
key: user
{{ end }}
command: ["python", "-m", "gunicorn.app.wsgiapp", "--config", "gunicorn.conf", "--log-config", "gunicorn.log.conf", "-b 0.0.0.0:8000", "nomad.app:app"]
livenessProbe:
httpGet:
......
......@@ -62,4 +62,6 @@ data:
client_secret: "*"
password: "*"
springer_db_path: "{{ .Values.springerDbPath }}"
datacite:
enabled: {{ .Values.datacite.enabled }}
prefix: "{{ .Values.datacite.prefix }}"
......@@ -153,3 +153,7 @@ volumes:
domain: DFT
springerDbPath: /nomad/fairdi/db/data/springer.db
datacite:
enabled: false
prefix: "10.17172"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment