mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
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 <yuggupta27@gmail.com>
This commit is contained in:
parent
69d1beeb07
commit
d865670f97
@ -47,7 +47,7 @@ fi
|
|||||||
# set up helm
|
# set up helm
|
||||||
scripts/install-helm.sh up
|
scripts/install-helm.sh up
|
||||||
# install cephcsi helm charts
|
# install cephcsi helm charts
|
||||||
scripts/install-helm.sh install-cephcsi ${NAMESPACE}
|
scripts/install-helm.sh install-cephcsi --namespace ${NAMESPACE}
|
||||||
# functional tests
|
# functional tests
|
||||||
make run-e2e NAMESPACE="${NAMESPACE}" E2E_ARGS="--deploy-cephfs=false --deploy-rbd=false ${*}"
|
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
|
# delete snapshot CRD
|
||||||
scripts/install-snapshot.sh cleanup
|
scripts/install-snapshot.sh cleanup
|
||||||
fi
|
fi
|
||||||
scripts/install-helm.sh cleanup-cephcsi ${NAMESPACE}
|
scripts/install-helm.sh cleanup-cephcsi --namespace ${NAMESPACE}
|
||||||
scripts/install-helm.sh clean
|
scripts/install-helm.sh clean
|
||||||
kubectl delete ns ${NAMESPACE}
|
kubectl delete ns ${NAMESPACE}
|
||||||
sudo scripts/minikube.sh clean
|
sudo scripts/minikube.sh clean
|
||||||
|
Loading…
Reference in New Issue
Block a user