From 9a6b592fbefc7a7c01c689ea7133e8f5a99d9e37 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Thu, 22 Aug 2024 17:05:55 +0300 Subject: [PATCH] deploy: Fix script for external providers 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