From d865670f9749acb95f2487b513479060b8e287a8 Mon Sep 17 00:00:00 2001 From: Yug Date: Thu, 22 Apr 2021 12:14:10 +0530 Subject: [PATCH] deploy: pass --namespace flag before passing namespace Since we parse multiple options from command line in install-helm, script will not recognize any random string directly as namespace. To inform script about namespace, `--namespace` flag is used before passing namespace. Signed-off-by: Yug --- scripts/travis-helmtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis-helmtest.sh b/scripts/travis-helmtest.sh index 051d2f48e..c1cb7b24c 100755 --- a/scripts/travis-helmtest.sh +++ b/scripts/travis-helmtest.sh @@ -47,7 +47,7 @@ fi # set up helm scripts/install-helm.sh up # install cephcsi helm charts -scripts/install-helm.sh install-cephcsi ${NAMESPACE} +scripts/install-helm.sh install-cephcsi --namespace ${NAMESPACE} # functional tests make run-e2e NAMESPACE="${NAMESPACE}" E2E_ARGS="--deploy-cephfs=false --deploy-rbd=false ${*}" @@ -57,7 +57,7 @@ if [[ "${KUBE_MAJOR}" -ge 1 ]] && [[ "${KUBE_MINOR}" -ge 17 ]]; then # delete snapshot CRD scripts/install-snapshot.sh cleanup fi -scripts/install-helm.sh cleanup-cephcsi ${NAMESPACE} +scripts/install-helm.sh cleanup-cephcsi --namespace ${NAMESPACE} scripts/install-helm.sh clean kubectl delete ns ${NAMESPACE} sudo scripts/minikube.sh clean