VOL-2936 - set chart version for external kafka install
Change-Id: I2a7dca1c302814fb7160ca64b329053a4c37cc99
diff --git a/voltha b/voltha
index ba85f84..a472c0a 100755
--- a/voltha
+++ b/voltha
@@ -110,6 +110,7 @@
VOLTHA_ADAPTER_OPEN_ONU_CHART_VERSION=${VOLTHA_ADAPTER_OPEN_ONU_CHART_VERSION:-latest}
ONOS_CHART=${ONOS_CHART:-onf/onos}
ONOS_CHART_VERSION=${ONOS_CHART_VERSION:-latest}
+KAFKA_CHART_VERSION=${KAFKA_CHART_VERSION:=0.15.3}
EXTRA_HELM_INSTALL_ARGS=${EXTRA_HELM_INSTALL_ARGS:-}
INTERNAL_EXTRA_HELM_INSTALL_ARGS=
NUM_OF_BBSIM=${NUM_OF_BBSIM:-1}
@@ -250,6 +251,7 @@
VOLTHA_ADAPTER_OPEN_ONU_CHART_VERSION \
ONOS_CHART \
ONOS_CHART_VERSION \
+ KAFKA_CHART_VERSION \
ONOS_API_PORT \
ONOS_SSH_PORT \
CONFIG_SADIS \
@@ -1585,7 +1587,7 @@
if [ "$HELM_USE_UPGRADE" == "yes" ] || [ "$(helm list --deployed --short --namespace "$INFRA_NS" "^kafka\$" | wc -l)" -ne 1 ]; then
espin "$NOT_VERIFIED"
INTERNAL_EXTRA_HELM_INSTALL_ARGS+=" -f $_TMP"
- helm_install - "$INFRA_NS" kafka incubator/kafka latest "$_HELM_DESC external Kafka cluster"
+ helm_install - "$INFRA_NS" kafka incubator/kafka "$KAFKA_CHART_VERSION" "$_HELM_DESC external Kafka cluster"
else
espin "$VERIFIED"
fi