diff --git a/pkg/feature/conditions.go b/pkg/feature/conditions.go index 86b662f0d3e..677cdd2e62d 100644 --- a/pkg/feature/conditions.go +++ b/pkg/feature/conditions.go @@ -36,6 +36,10 @@ func WaitForPodsToBeReady(namespace string) Action { readyPods := 0 totalPods := len(podList.Items) + if totalPods == 0 { // We want to wait for "something", so make sure we have "something" before we claim success. + return false, nil + } + for _, pod := range podList.Items { podReady := true // Consider a "PodSucceeded" as ready, since these will never will