Support non-tls ingress for kind #748
@ -51,7 +51,7 @@ def wait_for_ingress_in_kind():
|
|||||||
for event in w.stream(func=core_v1.list_namespaced_pod,
|
for event in w.stream(func=core_v1.list_namespaced_pod,
|
||||||
namespace="ingress-nginx",
|
namespace="ingress-nginx",
|
||||||
label_selector="app.kubernetes.io/component=controller",
|
label_selector="app.kubernetes.io/component=controller",
|
||||||
timeout_seconds=120):
|
timeout_seconds=240):
|
||||||
if event['object'].status.container_statuses:
|
if event['object'].status.container_statuses:
|
||||||
if event['object'].status.container_statuses[0].ready is True:
|
if event['object'].status.container_statuses[0].ready is True:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user