Merge "Add 60s timeout to rollout status"

This commit is contained in:
Zuul 2020-08-19 00:48:13 +00:00 committed by Gerrit Code Review
commit 83cc799403
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ function kubernetes_rollout_status {
kubectl get $resource && break || sleep 1;
done
kubectl rollout status $resource
kubectl rollout status --timeout=60s $resource
}
function kubernetes_rollout_restart {
@ -113,4 +113,4 @@ function get_data_from_secret {
local data=$(kubectl get secret -n $ns $secret -o jsonpath="{.data.$key}" | base64 --decode)
echo $data
}
export -f get_data_from_secret
export -f get_data_from_secret