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: ...@@ -19,7 +19,7 @@ worker:
routing: "queue" routing: "queue"
processes: 10 processes: 10
nomadNodeType: "prod-worker" nomadNodeType: "prod-worker"
elastic: elastic:
port: 9202 port: 9202
...@@ -41,3 +41,6 @@ volumes: ...@@ -41,3 +41,6 @@ volumes:
staging: /nomad/fairdi/prod_v0.7/fs/staging staging: /nomad/fairdi/prod_v0.7/fs/staging
tmp: /nomad/fairdi/prod_v0.7/fs/tmp tmp: /nomad/fairdi/prod_v0.7/fs/tmp
nomad: /nomad nomad: /nomad
datacite:
secret: 'nomad-datacite'
...@@ -137,6 +137,18 @@ spec: ...@@ -137,6 +137,18 @@ spec:
name: {{ .Values.keycloak.passwordSecret }} name: {{ .Values.keycloak.passwordSecret }}
key: password key: password
{{ end }} {{ 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"] command: ["python", "-m", "gunicorn.app.wsgiapp", "--config", "gunicorn.conf", "--log-config", "gunicorn.log.conf", "-b 0.0.0.0:8000", "nomad.app:app"]
livenessProbe: livenessProbe:
httpGet: httpGet:
......
...@@ -62,4 +62,6 @@ data: ...@@ -62,4 +62,6 @@ data:
client_secret: "*" client_secret: "*"
password: "*" password: "*"
springer_db_path: "{{ .Values.springerDbPath }}" springer_db_path: "{{ .Values.springerDbPath }}"
datacite:
enabled: {{ .Values.datacite.enabled }}
prefix: "{{ .Values.datacite.prefix }}"
...@@ -153,3 +153,7 @@ volumes: ...@@ -153,3 +153,7 @@ volumes:
domain: DFT domain: DFT
springerDbPath: /nomad/fairdi/db/data/springer.db 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