summaryrefslogtreecommitdiffstats
path: root/kubernetes/message-router/charts/kafka/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/message-router/charts/kafka/templates/deployment.yaml')
-rw-r--r--kubernetes/message-router/charts/kafka/templates/deployment.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/message-router/charts/kafka/templates/deployment.yaml b/kubernetes/message-router/charts/kafka/templates/deployment.yaml
index cc3ae59e40..347442f8ef 100644
--- a/kubernetes/message-router/charts/kafka/templates/deployment.yaml
+++ b/kubernetes/message-router/charts/kafka/templates/deployment.yaml
@@ -82,7 +82,9 @@ spec:
- name: KAFKA_ADVERTISED_HOST_NAME
value: "{{ include "common.fullname" . }}"
- name: KAFKA_BROKER_ID
- value: "1"
+ value: "0"
+ - name: KAFKA_ADVERTISED_LISTENERS
+ value: PLAINTEXT://{{ include "common.name" . }}:{{.Values.service.internalPort}}
- name: KAFKA_ADVERTISED_PORT
value: "{{.Values.service.internalPort}}"
- name: KAFKA_PORT