diff --git a/tests/scripts/create-dev-cluster.sh b/tests/scripts/create-dev-cluster.sh index b33d4ef4d4ae..8e71c52b16ed 100755 --- a/tests/scripts/create-dev-cluster.sh +++ b/tests/scripts/create-dev-cluster.sh @@ -1,21 +1,9 @@ #!/usr/bin/env bash -# Copyright 2021 The Rook Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +SCRIPT_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P) KUBECTL="minikube kubectl --" -ROOK_EXAMPLES_DIR="../../deploy/examples/" +ROOK_EXAMPLES_DIR="${SCRIPT_ROOT}/../../deploy/examples/" wait_for_ceph_cluster() { echo "Waiting for ceph cluster"