Skip to content

Commit

Permalink
kind: fix script var scope
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Nov 22, 2024
1 parent a12fd00 commit 6f6b857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy_on_kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ set -e

DIR="$(dirname "$0")"
MR_NAMESPACE="${MR_NAMESPACE:-kubeflow}"
IMG="${IMG:-kubeflow/model-registry:latest}"

source ./${DIR}/utils.sh

# modularity to allow re-use this script against a remote k8s cluster
if [[ -n "$LOCAL" ]]; then
CLUSTER_NAME="${CLUSTER_NAME:-kind}"
IMG="${IMG:-kubeflow/model-registry:latest}"

echo 'Creating local Kind cluster and loading image'

Expand Down

0 comments on commit 6f6b857

Please sign in to comment.