From 303691375fa02e87a0dba0a910168d8f236ef6a3 Mon Sep 17 00:00:00 2001 From: bnshr Date: Tue, 2 Jul 2024 11:06:44 +0200 Subject: [PATCH] Deploy cr-scale-operator in tnf namespace --- scripts/delete-cr-scale-operator.sh | 2 +- scripts/deploy-cr-scale-operator.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/delete-cr-scale-operator.sh b/scripts/delete-cr-scale-operator.sh index d61835df..f9a2b30a 100755 --- a/scripts/delete-cr-scale-operator.sh +++ b/scripts/delete-cr-scale-operator.sh @@ -21,7 +21,7 @@ git clone "$CR_SCALE_OPERATOR_GIT_REPO" -b "$TAG" "${CR_SCALE_OPERATOR_DIR}" || cd $CR_SCALE_OPERATOR_DIR || exit 1 # Delete custom resource deploymed earlier. -oc delete -f config/samples/cache_v1_memcached.yaml +oc delete -f config/samples/cache_v1_memcached.yaml -n "${TNF_EXAMPLE_CNF_NAMESPACE}" # Clean up operator ./scripts/cleanup.sh diff --git a/scripts/deploy-cr-scale-operator.sh b/scripts/deploy-cr-scale-operator.sh index 79db68b3..0f66bf06 100755 --- a/scripts/deploy-cr-scale-operator.sh +++ b/scripts/deploy-cr-scale-operator.sh @@ -26,10 +26,10 @@ pushd "${CR_SCALE_OPERATOR_DIR}" || exit 1 make deploy IMG=$IMG # Deploy custom resource -oc apply -f config/samples/cache_v1_memcached.yaml +oc apply -f config/samples/cache_v1_memcached.yaml -n "${TNF_EXAMPLE_CNF_NAMESPACE}" # Check the pods -oc get pods +oc get pods -n "${TNF_EXAMPLE_CNF_NAMESPACE}" # Return from the checkout folder. popd || exit 1