chore: wait for resource deletion in sonobuoy
This PR fixes the fix where we try to cleanup sonobuoy. We did that successfully, but still got errors b/c we were immediately trying to create service accounts in a namespace that was being deleted. This should fix that. The sonobuoy default wait period is 1hr, should be plenty. Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
This commit is contained in:
parent
13bd77355e
commit
67cddaff44
@ -131,7 +131,7 @@ function run_kubernetes_integration_test {
|
||||
--mode ${SONOBUOY_MODE}; do
|
||||
[[ $(date +%s) -gt $timeout ]] && exit 1
|
||||
echo "re-attempting to run sonobuoy"
|
||||
${SONOBUOY} delete --all
|
||||
${SONOBUOY} delete --all --wait
|
||||
sleep 10
|
||||
done
|
||||
${SONOBUOY} status --kubeconfig ${KUBECONFIG} --json | jq . | tee ${TMP}/sonobuoy-status.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user