test: fix sonobuoy delete
It expects kubeconfig as required argument. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This commit is contained in:
parent
5ecddf2866
commit
4f5660b22b
@ -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 --wait
|
||||
${SONOBUOY} delete --all --wait --kubeconfig ${KUBECONFIG}
|
||||
sleep 10
|
||||
done
|
||||
${SONOBUOY} status --kubeconfig ${KUBECONFIG} --json | jq . | tee ${TMP}/sonobuoy-status.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user