Skip to content

Commit

Permalink
fix name of controller
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed Nov 13, 2023
1 parent 83f1841 commit cda79ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ install_gitops(){
# kubectl wait docs:
# https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#wait

echo "Waiting for deployment of the gitops-operator-controller-manager to begin..."
until oc get deployment gitops-operator-controller-manager -n openshift-operators
echo "Waiting for deployment of the openshift-gitops-operator-controller-manager to begin..."
until oc get deployment openshift-gitops-operator-controller-manager -n openshift-operators
do
sleep 5
done

echo "Waiting for gitops-operator-controller-manager to start..."
oc wait --for=condition=Available deployment/gitops-operator-controller-manager -n openshift-operators --timeout=${TIMEOUT_SECONDS}s
echo "Waiting for openshift-gitops-operator-controller-manager to start..."
oc wait --for=condition=Available deployment/openshift-gitops-operator-controller-manager -n openshift-operators --timeout=${TIMEOUT_SECONDS}s

echo "Waiting for ${ARGO_NS} namespace to be created..."
oc wait --for=jsonpath='{.status.phase}'=Active namespace/${ARGO_NS} --timeout=${TIMEOUT_SECONDS}s
Expand Down

0 comments on commit cda79ce

Please sign in to comment.