Skip to content
Snippets Groups Projects
Commit 37e170d8 authored by Sören Henning's avatar Sören Henning
Browse files

Expose bootstrap server as environment variable

parent e1e5bac9
No related branches found
No related tags found
No related merge requests found
Pipeline #6751 skipped
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
# name: {{ template "theodolite.fullname" . }}-kafka-client
name: {{ template "theodolite.fullname" . }}-kafka-client name: {{ template "theodolite.fullname" . }}-kafka-client
spec: spec:
containers: containers:
...@@ -12,6 +11,9 @@ spec: ...@@ -12,6 +11,9 @@ spec:
- sh - sh
- -c - -c
- "exec tail -f /dev/null" - "exec tail -f /dev/null"
env:
- name: BOOTSTRAP_SERVER
value: {{ template "theodolite.fullname" . }}-kafka-kafka-bootstrap:9092
{{- with .Values.kafkaClient.nodeSelector }} {{- with .Values.kafkaClient.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment