nomad-configmap.yml 2.72 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ include "nomad.fullname" . }}-configmap
  labels:
    app.kubernetes.io/name: {{ include "nomad.name" . }}-configmap
    helm.sh/chart: {{ include "nomad.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
Markus Scheidgen's avatar
Markus Scheidgen committed
11
  nomad.yaml: |
12
13
    meta:
      release: "{{ .Release.Name }}"
14
15
16
17
      service: "{{ .Values.meta.service }}"
      homepage: "{{ .Values.meta.homepage }}"
      source_url: "{{ .Values.meta.source_url }}"
      maintainer_email: "{{ .Values.meta.maintainer_email }}"
18
    reprocess_unmatched: {{ .Values.reprocess_unmatched }}
19
20
21
    fs:
      tmp: "{{ .Values.volumes.tmp }}"
      prefix_size: {{ .Values.volumes.prefixSize }}
22
      working_directory: /app
23
24
25
      {{ if .Values.volumes.archiveVersionSuffix }}
      archive_version_suffix: "{{ .Values.volumes.archiveVersionSuffix }}"
      {{ end }}
26
    logstash:
27
      enabled: {{ .Values.logstash.enabled }}
28
      host: "{{ .Values.logstash.host }}"
29
      tcp_port: {{ .Values.logstash.port }}
30
31
    services:
      api_host: "{{ .Values.proxy.external.host }}"
32
      api_port: {{ .Values.proxy.external.port }}
33
      api_base_path: "{{ .Values.proxy.external.path }}"
34
      api_secret: "{{ .Values.api.secret }}"
35
      https: {{ .Values.proxy.external.https }}
36
      upload_limit: {{ .Values.api.uploadLimit }}
37
      admin_user_id: {{ .Values.keycloak.admin_user_id }}
38
39
40
41
42
43
    rabbitmq:
      host: "{{ .Release.Name }}-rabbitmq"
    elastic:
      host: "{{ .Values.elastic.host }}"
      port: {{ .Values.elastic.port }}
      index_name: "{{ .Values.dbname }}"
44
      materials_index_name: "{{ .Values.dbname }}_materials"
45
46
47
48
49
    mongo:
      host: "{{ .Values.mongo.host }}"
      port: {{ .Values.mongo.port }}
      db_name: "{{ .Values.dbname }}"
    mail:
50
      enabled: {{ .Values.mail.enabled }}
51
      host: "{{ .Values.mail.host }}"
52
      {{ if .Values.mail.port }}
53
      port: {{ .Values.mail.port }}
54
55
      {{ end }}
      {{ if .Values.mail.user }}
56
      user: "{{ .Values.mail.user }}"
57
58
      {{ end }}
      {{ if .Values.mail.password }}
59
      password: "{{ .Values.mail.password }}"
60
      {{ end }}
61
      from_address: "{{ .Values.mail.from }}"
62
63
    celery:
      routing: "{{ .Values.worker.routing }}"
64
      timeout: {{ .Values.worker.timeout }}
65
66
    client:
      user: "{{ .Values.client.username }}"
67
68
69
70
71
    keycloak:
      server_url: "{{ .Values.keycloak.serverUrl }}"
      realm_name: "{{ .Values.keycloak.realmName }}"
      username: "{{ .Values.keycloak.username }}"
      client_id: "{{ .Values.keycloak.clientId }}"
72
73
    normalize:
      springer_db_path: "{{ .Values.springerDbPath }}"
Markus Scheidgen's avatar
Markus Scheidgen committed
74
75
76
    datacite:
      enabled: {{ .Values.datacite.enabled }}
      prefix: "{{ .Values.datacite.prefix }}"