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/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"]