From db931399c22a8ace1b6e050f99203b5d05c11de0 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Fri, 23 Aug 2024 02:26:34 +0300 Subject: [PATCH] deploy: Fix script for external providers (#3064) When using external provider which is not OpenShift, make cluster-sync will fail. Updating the condition. Signed-off-by: Or Shoval --- hack/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/deploy.sh b/hack/deploy.sh index 69f23159dc..51289cd2bd 100755 --- a/hack/deploy.sh +++ b/hack/deploy.sh @@ -72,7 +72,7 @@ for namespace in ${namespaces[@]}; do fi done -if [ "${CMD}" == "oc" ]; then +if [ "${IS_OPENSHIFT}" == "true" ]; then # Switch project to kubevirt-hyperconverged oc project "${HCO_NAMESPACE}" else