Unverified Commit 79dc3533 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

integrate configuration in deployment manifest


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 817fc356
Pipeline #22563 passed with stages
in 2 minutes
apiVersion: v1
kind: ConfigMap
metadata:
name: mediametadatatodb-config
namespace: memobase
data:
INPUT_TOPIC: 'fedora-output-json-records'
KAFKA_CONNECTION_RETRIES: '2'
KAFKA_GROUP_ID: 'medienserverMetadataService'
LOG_LEVEL: 'INFO'
MARIADB_CONNECTION_RETRIES: '2'
MARIADB_DATABASE: 'medienserver'
MARIADB_HOST: 'mb-db1.swissbib.unibas.ch'
MARIADB_PORT: '3306'
REPORTING_TOPIC: 'import-process-reporting'
URI_BASE: 'file:///data/'
......@@ -19,11 +19,30 @@ spec:
containers:
- name: pp-mediametadatatodb-container
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/mediametadatatodb:latest
env:
- name: INPUT_TOPIC
value: 'fedora-output-json-records'
- name: KAFKA_CONNECTION_RETRIES
value: '2'
- name: KAFKA_GROUP_ID
value: 'medienserverMetadataService'
- name: LOG_LEVEL
value: 'INFO'
- name: MARIADB_CONNECTION_RETRIES
value: '2'
- name: MARIADB_DATABASE
value: 'medienserver'
- name: MARIADB_HOST
value: 'mb-db1.swissbib.unibas.ch'
- name: MARIADB_PORT
value: '3306'
- name: REPORTING_TOPIC
value: 'import-process-reporting'
- name: URI_BASE
value: 'file:///data/'
envFrom:
- configMapRef:
name: "prod-kafka-bootstrap-servers"
- configMapRef:
name: "mediametadatatodb-config"
- secretRef:
name: mariadb-mb-db1-medienserver
imagePullPolicy: Always
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