Skip to content

Commit

Permalink
fix --wait's failure to work on coredns pods
Browse files Browse the repository at this point in the history
  • Loading branch information
ComradeProgrammer committed Oct 3, 2024
1 parent 9d3094c commit cbb6378
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/minikube/bootstrapper/bsutil/kverify/system_pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ func ExpectAppsRunning(cs *kubernetes.Clientset, expected []string) error {
if pod.Status.Phase != core.PodRunning {
continue
}
for _, cs := range pod.Status.ContainerStatuses {
if !cs.Ready {
continue
}
}

for k, v := range pod.ObjectMeta.Labels {
if k == "component" || k == "k8s-app" {
Expand Down

0 comments on commit cbb6378

Please sign in to comment.