add debug info on timeout
@@ -20,6 +20,9 @@ monitor_timeout() {
local -r wait_pid="$1"
sleep "${timeout}"
echo "Timeout ${timeout} exceeded" >&2
+ kubectl --namespace "${namespace}" get pods
+ docker images | grep "kyverno"
+ kubectl --namespace "${namespace}" logs -l app=kyverno
kill "${wait_pid}"
}
