VOL-1902: Pass the KAFKA_HOST and PORT environments used by arouterd to connect to kafka.
Also increment version in Chart.yaml
Change-Id: If7977a69766f95492f695c76a8dcd9cf43dd0acb
diff --git a/voltha/Chart.yaml b/voltha/Chart.yaml
index 6bf5823..5f5b80a 100644
--- a/voltha/Chart.yaml
+++ b/voltha/Chart.yaml
@@ -17,5 +17,5 @@
description: A Helm chart for Voltha based on K8S resources in Voltha project
icon: https://guide.opencord.org/logos/cord.svg
-version: 2.1.2
+version: 2.1.3
appVersion: 2.1.1
diff --git a/voltha/templates/api-server.yaml b/voltha/templates/api-server.yaml
index 14fa964..601ac28 100644
--- a/voltha/templates/api-server.yaml
+++ b/voltha/templates/api-server.yaml
@@ -90,6 +90,10 @@
env:
- name: POD_NAMESPACE
value: {{ .Release.Namespace }}
+ - name: KAFKA_HOST
+ value: {{ .Values.services.kafka.cluster.service }}
+ - name: KAFKA_PORT
+ value: {{ quote .Values.services.kafka.cluster.port }}
image: {{ tpl .Values.images.afrouterd.registry . }}{{ tpl .Values.images.afrouterd.repository . }}:{{ tpl ( tpl .Values.images.afrouterd.tag . ) . }}
imagePullPolicy: {{ tpl .Values.images.afrouterd.pullPolicy . }}
command: ["/app/arouterd"]