Revert "VOL-3213 - allow settings for onos and bbsim"
This reverts commit e1b1e082aaae298c72ec0b58a4b1cd307be9f648.
Reason for revert: causing pipeline to fail
Change-Id: Ie0ab97381afad61eb6d128a40400d90b79aa26b0
diff --git a/voltha b/voltha
index 6acc1f9..e41d5d8 100755
--- a/voltha
+++ b/voltha
@@ -1631,7 +1631,7 @@
bspin "Verify ONOS LEGACY installed $BIRD"
if [ "$HELM_USE_UPGRADE" == "yes" ] || [ "$(helm list --deployed --short --namespace "$INFRA_NS" "^onos\$" | wc -l)" -ne 1 ]; then
espin "$NOT_VERIFIED"
- INTERNAL_EXTRA_HELM_INSTALL_ARGS="$SET_TAG $EXTRA_HELM_FLAGS" helm_install - "$INFRA_NS" onos "$ONOS_CHART" "$ONOS_CHART_VERSION" "+onos" "$_HELM_DESC ONOS LEGACY"
+ INTERNAL_EXTRA_HELM_INSTALL_ARGS="$SET_TAG $EXTRA_HELM_FLAGS" helm_install - "$INFRA_NS" onos "$ONOS_CHART" "$ONOS_CHART_VERSION" - "$_HELM_DESC ONOS LEGACY"
INTERNAL_EXTRA_HELM_INSTALL_ARGS=
else
espin "$VERIFIED"
@@ -2105,17 +2105,7 @@
else
INTERNAL_EXTRA_HELM_INSTALL_ARGS+=" --set dhcp=false"
fi
- if is_in "$WITH_KAFKA" "yes,external"; then
- _HOST=kafka.$INFRA_NS.svc
- _PORT=9092
- INTERNAL_EXTRA_HELM_INSTALL_ARGS+=" --set kafkaAddress=$_HOST:$_PORT"
- elif [ "$WITH_KAFKA" != "no" ]; then
- _HOST="$(echo "$WITH_KAFKA" | cut -d: -f1)"
- _PORT="$(echo "$WITH_KAFKA" | cut -s -d: -f2)"
- _PORT=${_PORT:-9092}
- INTERNAL_EXTRA_HELM_INSTALL_ARGS+=" --set kafkaAddress=$_HOST:$_PORT"
- fi
- helm_install - "$BBSIM_NS" "bbsim${instance_num}" "$VOLTHA_BBSIM_CHART" "$VOLTHA_BBSIM_CHART_VERSION" "+bbsim" "$_HELM_DESC BBSIM${instance_num}"
+ helm_install - "$BBSIM_NS" "bbsim${instance_num}" "$VOLTHA_BBSIM_CHART" "$VOLTHA_BBSIM_CHART_VERSION" - "$_HELM_DESC BBSIM${instance_num}"
INTERNAL_EXTRA_HELM_INSTALL_ARGS=
else
espin - "$VERIFIED"