Skip to content

Commit

Permalink
cluster-sync: Use rollout instead of wait
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Llorente <[email protected]>
  • Loading branch information
qinqon committed Sep 3, 2024
1 parent 83a65d3 commit fe81c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function sync() {
# Generate the manifest with the "sha256" to force kubernetes to reload the image
sha=$(skopeo inspect --tls-verify=false docker://$img:$tag |jq -r .Digest)
IMG=$img@$sha make deploy
${KUBECTL} wait -n kubevirt-ipam-controller-system deployment kubevirt-ipam-controller-manager --for condition=Available --timeout 2m
${KUBECTL} rollout status -w -n kubevirt-ipam-controller-system deployment kubevirt-ipam-controller-manager --timeout 2m
}


Expand Down

0 comments on commit fe81c64

Please sign in to comment.