Unverified Commit 1f87dfbf authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

take kafka configs from configmap

parent 6e500c87
Pipeline #22537 passed with stages
in 4 minutes and 59 seconds
......@@ -23,7 +23,6 @@ downstream if they choose to discard the respective message header.
Finally there are a couple of more or less static settings which are set by
environmental variables:
- `KAFKA_BOOTSTRAP_SERVERS`: a comma-separated list of Kafka brokers
- `CLIENT_ID`: name of the client. This is only used as the prefix, since every
time the service is started a random id is generated
- `TOPIC_IN`: name of input topic
......
......@@ -25,9 +25,10 @@ spec:
]
image: cr.gitlab.switch.ch/memoriav/memobase-2020/utilities/import-process-delete:latest
imagePullPolicy: Always
envFrom:
- configMapRef:
- name: "prod-kafka-bootstrap-servers"
env:
- name: KAFKA_BOOTSTRAP_SERVERS
value: mb-ka1.memobase.unibas.ch:9092,mb-ka2.memobase.unibas.ch:9092,mb-ka3.memobase.unibas.ch:9092
- name: CLIENT_ID
value: import-process-delete
- name: TOPIC_IN
......
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