diff --git a/deploy/bin/setup-ee.sh b/deploy/bin/setup-ee.sh index ff7315ca..21a18898 100755 --- a/deploy/bin/setup-ee.sh +++ b/deploy/bin/setup-ee.sh @@ -152,6 +152,10 @@ if [[ "${DEPLOY_LOCAL_VERSION}" == "1" ]]; then # Use envsubst to replace the PERSISTENT_VOLUME_NAME, PERSISTENT_VOLUME_NAME in the local_persistent_volume.yaml template envsubst < deploy/k3s/local_persistent_volume.yaml > deploy/k3s/local_persistentvolume.yaml + $K apply -f deploy/k3s/local_persistentvolume.yaml + rm deploy/k3s/local_persistentvolume.yaml + +else # If environment variable EFS_VOLUME_ID is not set, exit if [[ -z "${EFS_VOLUME_ID}" ]]; then fail "EFS_VOLUME_ID environment variable not set" diff --git a/test/validate_setup_ee.sh b/test/validate_setup_ee.sh index c99d4ba2..d411c1a2 100755 --- a/test/validate_setup_ee.sh +++ b/test/validate_setup_ee.sh @@ -2,6 +2,8 @@ # basic script to validate that setup_ee works as expected export DEPLOYMENT_NAMESPACE="validate-setup-ee" export INFERENCE_FLAVOR="CPU" +export DEPLOY_LOCAL_VERSION="1" +export EDGE_ENDPOINT_PORT="30107" kubectl create namespace $DEPLOYMENT_NAMESPACE ./deploy/bin/setup-ee.sh