|
12 | 12 | - "oc wait namespaces cert-manager-operator --for jsonpath='{.status.phase}'=Active --timeout=30s" |
13 | 13 | - "oc wait namespaces metallb-system --for jsonpath='{.status.phase}'=Active --timeout=30s" |
14 | 14 | - "oc wait namespaces openshift-nmstate --for jsonpath='{.status.phase}'=Active --timeout=30s" |
15 | | - - "oc wait -n metallb-system pod -l control-plane=controller-manager --for condition=Ready --timeout=180s" |
16 | | - - "oc wait -n metallb-system pod -l component=webhook-server --for condition=Ready --timeout=180s" |
17 | | - - "oc wait -n cert-manager-operator pod --for condition=Ready -l name=cert-manager-operator --timeout=180s" |
18 | | - - "oc wait -n cert-manager pod -l app=cainjector --for condition=Ready --timeout=180s" |
19 | | - - "oc wait -n cert-manager pod -l app=webhook --for condition=Ready --timeout=180s" |
20 | | - - "oc wait -n cert-manager pod -l app=cert-manager --for condition=Ready --timeout=180s" |
| 15 | + - "oc wait -n metallb-system deployment -l control-plane=controller-manager --for condition=Available --timeout=180s" |
| 16 | + - "oc wait -n metallb-system deployment -l component=webhook-server --for condition=Available --timeout=180s" |
| 17 | + - "oc wait -n cert-manager-operator deployment cert-manager-operator-controller-manager --for condition=Available --timeout=180s" |
| 18 | + - "oc wait -n cert-manager deployment -l app=cainjector --for condition=Available --timeout=180s" |
| 19 | + - "oc wait -n cert-manager deployment -l app=webhook --for condition=Available --timeout=180s" |
| 20 | + - "oc wait -n cert-manager deployment -l app=cert-manager --for condition=Available --timeout=180s" |
21 | 21 |
|
22 | 22 | - name: Common MetalLB |
23 | 23 | manifest: "{{ role_path }}/files/common/manifests/deps/metallb.yaml" |
|
27 | 27 |
|
28 | 28 | - name: Wait for MetalLB and NMState |
29 | 29 | wait_conditions: |
30 | | - - "oc wait -n metallb-system pod -l component=speaker --for condition=Ready --timeout=180s" |
31 | | - - "oc wait -n openshift-nmstate pod -l component=kubernetes-nmstate-handler --for condition=Ready --timeout=180s" |
32 | | - - "oc wait -n openshift-nmstate deployments/nmstate-webhook --for condition=Available --timeout=180s" |
| 30 | + - "oc wait -n metallb-system daemonset -l component=speaker --for jsonpath='{.status.numberReady}'=1 --timeout=180s" |
| 31 | + - "oc wait -n openshift-nmstate daemonset -l component=kubernetes-nmstate-handler --for jsonpath='{.status.numberReady}'=1 --timeout=180s" |
| 32 | + - "oc wait -n openshift-nmstate deployment -l component=kubernetes-nmstate-webhook --for condition=Available --timeout=180s" |
0 commit comments