X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fhelmmanager_api_functions.sh;h=a5a9a097e56fc0b97b1546c193409893781cc8e0;hb=542d2dbfd8df1fcb011fea3d69d539c5c5fe3667;hp=455387a9a160c534f66df8dd7ae4d9a40b8def52;hpb=4dd321bda70fab4987c1ea7aa0dffc5e1eb74252;p=nonrtric.git diff --git a/test/common/helmmanager_api_functions.sh b/test/common/helmmanager_api_functions.sh index 455387a9..a5a9a097 100644 --- a/test/common/helmmanager_api_functions.sh +++ b/test/common/helmmanager_api_functions.sh @@ -57,7 +57,7 @@ __HELMMANAGER_kube_scale_zero() { # Scale kubernetes resources to zero and wait until this has been accomplished, if relevant. If not relevant to scale, then do no action. # This function is called for prestarted apps not managed by the test script. __HELMMANAGER_kube_scale_zero_and_wait() { - __kube_scale_and_wait_all_resources $KUBE_NONRTRIC_NAMESPACE app "$KUBE_NONRTRIC_NAMESPACE"-helmmanagerservice + __kube_scale_and_wait_all_resources $KUBE_NONRTRIC_NAMESPACE app "$KUBE_NONRTRIC_NAMESPACE"-"$HELM_MANAGER_APP_NAME" } # Delete all kube resouces for the app @@ -196,7 +196,7 @@ start_helm_manager() { if [ $retcode_p -eq 0 ]; then echo -e " Using existing $HELM_MANAGER_APP_NAME deployment and service" echo " Setting $HELM_MANAGER_APP_NAME replicas=1" - __kube_scale deployment $HELM_MANAGER_APP_NAME $KUBE_NONRTRIC_NAMESPACE 1 + __kube_scale sts $HELM_MANAGER_APP_NAME $KUBE_NONRTRIC_NAMESPACE 1 fi if [ $retcode_i -eq 0 ]; then