We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cdf0d0 commit 9627925Copy full SHA for 9627925
plugins/modules/k8s_info.py
@@ -119,6 +119,19 @@
119
namespace: default
120
wait_sleep: 10
121
wait_timeout: 360
122
+
123
+- name: Wait for OpenShift bootstrap to complete
124
+ kubernetes.core.k8s_info:
125
+ kind: ConfigMap
126
+ name: bootstrap
127
+ namespace: kube-system
128
+ register: ocp_bootstrap_status
129
+ until: ocp_bootstrap_cm_status.resources is defined and
130
+ (ocp_bootstrap_cm_status.resources | length > 0) and
131
+ (ocp_bootstrap_cm_status.resources[0].data.status is defined) and
132
+ (ocp_bootstrap_cm_status.resources[0].data.status == 'complete')
133
+ retries: 60
134
+ delay: 15
135
"""
136
137
RETURN = r"""
0 commit comments