X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Faddons%2Faddons.sh;h=28337d9ab141e233d79c7175afba7a9bcffe91c0;hb=860d3ddea953c3f77df35762afc1a282157c846b;hp=33f5d8013729a4b35a13bd8a8dfe62ea33786580;hpb=818ebd97b869309fefa0cc102ab0a9f067f9a51d;p=icn.git diff --git a/deploy/addons/addons.sh b/deploy/addons/addons.sh index 33f5d80..28337d9 100755 --- a/deploy/addons/addons.sh +++ b/deploy/addons/addons.sh @@ -11,7 +11,7 @@ BUILDDIR=${SCRIPTDIR/deploy/build} mkdir -p ${BUILDDIR} function register_emco_controllers { - local -r cluster_name=${CLUSTER_NAME:-e2etest} + local -r cluster_name=${CLUSTER_NAME:-icn} local -r host=$(kubectl -n metal3 get cluster/${cluster_name} -o jsonpath='{.spec.controlPlaneEndpoint.host}') cat <${BUILDDIR}/${cluster_name}-config.yaml orchestrator: @@ -66,13 +66,13 @@ EOF } function unregister_emco_controllers { - local -r cluster_name=${CLUSTER_NAME:-e2etest} + local -r cluster_name=${CLUSTER_NAME:-icn} emcoctl --config ${BUILDDIR}/${cluster_name}-config.yaml delete -f ${BUILDDIR}/${cluster_name}-controllers.yaml } function test_addons { # Create a temporary kubeconfig file for the tests - local -r cluster_name=${CLUSTER_NAME:-e2etest} + local -r cluster_name=${CLUSTER_NAME:-icn} local -r cluster_kubeconfig="${BUILDDIR}/${cluster_name}.conf" clusterctl -n metal3 get kubeconfig ${cluster_name} >${cluster_kubeconfig} @@ -113,7 +113,7 @@ case $1 in Usage: $(basename $0) COMMAND The "test" command looks for the CLUSTER_NAME variable in the -environment (default: "e2etest"). This should be the name of the +environment (default: "icn"). This should be the name of the Cluster resource to execute the tests in. Commands: