Skip to content

Commit

Permalink
deploy: Fix script for external providers (#3064)
Browse files Browse the repository at this point in the history
When using external provider which is not OpenShift,
make cluster-sync will fail.
Updating the condition.

Signed-off-by: Or Shoval <oshoval@redhat.com>
  • Loading branch information
oshoval authored Aug 22, 2024
1 parent 9c8b736 commit db93139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db93139

Please sign in to comment.