File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ kubectl_wait_daemonset(){
4545 READY_REPLICAS=$( run_kubectl get daemonsets.apps $1 -n ovn-kubernetes -o=jsonpath=' {.status.numberReady}' )
4646 echo " CURRENT READY REPLICAS: $READY_REPLICAS , CURRENT DESIRED REPLICAS: $DESIRED_REPLICAS for the DaemonSet $1 "
4747 if [[ $READY_REPLICAS -eq $DESIRED_REPLICAS ]]; then
48- UP_TO_DATE_REPLICAS=$( run_kubectl get daemonsets.apps ovnkube-node -n ovn-kubernetes -o=jsonpath=' {.status.updatedNumberScheduled}' )
48+ UP_TO_DATE_REPLICAS=$( run_kubectl get daemonsets.apps $1 -n ovn-kubernetes -o=jsonpath=' {.status.updatedNumberScheduled}' )
4949 echo " CURRENT UP TO DATE REPLICAS: $UP_TO_DATE_REPLICAS for the Deployment $1 "
5050 if [[ $READY_REPLICAS -eq $UP_TO_DATE_REPLICAS ]]; then
5151 break
@@ -288,7 +288,7 @@ run_kubectl apply -f rbac-ovnkube-db.yaml
288288
289289if [ " ${OVN_ENABLE_OVNKUBE_IDENTITY} " == true ]; then
290290 run_kubectl apply -f ovnkube-identity.yaml
291- kubectl_wait_deployment ovnkube-identity
291+ kubectl_wait_daemonset ovnkube-identity
292292fi
293293
294294
You can’t perform that action at this time.
0 commit comments