Unverified Commit 492367d5 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

user env vars instead of mounted config file



Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 82529f14
......@@ -21,10 +21,27 @@ spec:
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/fedora-media-extractor:latest
imagePullPolicy: Always
volumeMounts:
- name: config
mountPath: /app/configs
- name: av-volume
mountPath: /data
env:
- name: JOB_ID
value: fedora-media-extractor
- name: AUDIO_SINK_DIR
value: /data
- name: IMAGE_SINK_DIR
value: /data
- name: VIDEO_SINK_DIR
value: /data
- name: FEDORA_HOST
value: mb-fed1.memobase.unibas.ch:8080/fcrepo
- name: KAFKA_BOOTSTRAP_SERVERS
value: mb-ka1.memobase.unibas.ch:9092,mb-ka2.memobase.unibas.ch:9092,mb-ka3.memobase.unibas.ch:9092
- name: APPLICATION_ID
value: fedora-media-extractor
- name: TOPIC_IN
value: metadata-all
restartPolicy: Always
volumes:
- name: config
configMap:
name: fedora-media-extractor-config
- name: av-volume
persistentVolumeClaim:
claimName: av-volume-claim
Supports Markdown
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