From 044e68502aec005885012ffd852f11589c8a1094 Mon Sep 17 00:00:00 2001 From: Matheus Nogueira Date: Tue, 10 Sep 2024 17:26:42 -0300 Subject: [PATCH] use hostname for kafka config --- charts/pokeshop-demo/templates/deployment.stream.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pokeshop-demo/templates/deployment.stream.yaml b/charts/pokeshop-demo/templates/deployment.stream.yaml index ff10d91..6ebb963 100644 --- a/charts/pokeshop-demo/templates/deployment.stream.yaml +++ b/charts/pokeshop-demo/templates/deployment.stream.yaml @@ -29,7 +29,7 @@ spec: {{- toYaml .Values.pokeshop.stream.resources | nindent 12 }} env: - name: KAFKA_ADVERTISED_LISTENERS - value: PLAINTEXT://stream.{{ .Release.Namespace }}:9092 + value: PLAINTEXT://{{ .Values.pokeshop.ingress.hostname }}:9092 - name: KAFKA_LISTENERS value: PLAINTEXT://0.0.0.0:9092,CONTROLLER://0.0.0.0:9093 - name: KAFKA_CONTROLLER_QUORUM_VOTERS