[skip ci] Unified milvus access layer in e2e test (#5847)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
quicksilver 2021-06-17 21:13:59 +08:00 committed by GitHub
parent eb3751c9d5
commit 2b2ec0889c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,24 +46,12 @@ fi
kubectl create namespace "${MILVUS_HELM_NAMESPACE}" || true
if [[ "${MILVUS_STANDALONE_ENABLED}" == "false" ]]; then
helm install --wait --timeout "${MILVUS_INSTALL_TIMEOUT}" \
--set image.all.repository="${MILVUS_IMAGE_REPO}" \
--set image.all.tag="${MILVUS_IMAGE_TAG}" \
--set image.all.pullPolicy="${MILVUS_PULL_POLICY:-Always}" \
--set standalone.enabled="${MILVUS_STANDALONE_ENABLED}" \
--set proxy.service.type="${MILVUS_SERVICE_TYPE}" \
--namespace "${MILVUS_HELM_NAMESPACE}" \
"${MILVUS_HELM_RELEASE_NAME}" \
${@:-} "${MILVUS_HELM_CHART_PATH}"
else
helm install --wait --timeout "${MILVUS_INSTALL_TIMEOUT}" \
--set image.all.repository="${MILVUS_IMAGE_REPO}" \
--set image.all.tag="${MILVUS_IMAGE_TAG}" \
--set image.all.pullPolicy="${MILVUS_PULL_POLICY:-Always}" \
--set standalone.enabled="${MILVUS_STANDALONE_ENABLED}" \
--set standalone.service.type="${MILVUS_SERVICE_TYPE}" \
--namespace "${MILVUS_HELM_NAMESPACE}" \
"${MILVUS_HELM_RELEASE_NAME}" \
${@:-} "${MILVUS_HELM_CHART_PATH}"
fi
helm install --wait --timeout "${MILVUS_INSTALL_TIMEOUT}" \
--set image.all.repository="${MILVUS_IMAGE_REPO}" \
--set image.all.tag="${MILVUS_IMAGE_TAG}" \
--set image.all.pullPolicy="${MILVUS_PULL_POLICY:-Always}" \
--set standalone.enabled="${MILVUS_STANDALONE_ENABLED}" \
--set service.type="${MILVUS_SERVICE_TYPE}" \
--namespace "${MILVUS_HELM_NAMESPACE}" \
"${MILVUS_HELM_RELEASE_NAME}" \
${@:-} "${MILVUS_HELM_CHART_PATH}"