wait.sh failing to find programmed resources
In bigbang CI minio tests/wait.sh
needs updated to properly find and wait on resources:
error: error executing jsonpath "{.items[0].status.healthStatus}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
template was:
{.items[0].status.healthStatus}
object given to jsonpath engine was:
map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}}