Skip to content

Commit

Permalink
fix: argo again
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Feb 15, 2024
1 parent 0923b36 commit 37b83e8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ ocp_check_info || exit
main(){
select_folder bootstrap

# # kludge
# if [ ${selected_folder} == "argo-managed" ]; then
# oc apply -k components/operators/openshift-gitops-operator/operator/overlays/latest
# kludge
if [ ${selected_folder} == "argo-managed" ]; then
oc apply -k components/operators/openshift-gitops-operator/operator/overlays/latest

# echo "Waiting for OpenShift GitOps deployments to start"
# until oc get deployment cluster -n openshift-gitops >/dev/null 2>&1
# do
# sleep 1
# done
# fi
echo "Waiting for OpenShift GitOps deployments to start"
until oc get deployment cluster -n openshift-gitops >/dev/null 2>&1
do
sleep 1
done
fi

# shellcheck disable=SC2154
apply_firmly "bootstrap/${selected_folder}"
Expand Down

0 comments on commit 37b83e8

Please sign in to comment.