Skip to content

Commit 3f3c281

Browse files
committed
Add waiters for infra/openstack webhooks
1 parent c0cf6f2 commit 3f3c281

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

roles/kustomize_deploy/tasks/install_operators.yml

+22
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,25 @@
403403
# The RabbitMQ operator does not share our openstack.org/operator-name label
404404
# and must be checked independently
405405
- app.kubernetes.io/name=rabbitmq-cluster-operator
406+
407+
- name: Wait Openstack operator webhook service to be available
408+
environment:
409+
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
410+
PATH: "{{ cifmw_path }}"
411+
ansible.builtin.command:
412+
cmd: >-
413+
oc wait Service openstack-operator-webhook-service
414+
--namespace=openstack-operators
415+
--for=jsonpath='{.status.loadBalancer}'
416+
--timeout=300s
417+
418+
- name: Wait Openstack infra operator webhook service to be available
419+
environment:
420+
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
421+
PATH: "{{ cifmw_path }}"
422+
ansible.builtin.command:
423+
cmd: >-
424+
oc wait Service infra-operator-webhook-service
425+
--namespace=openstack-operators
426+
--for=jsonpath='{.status.loadBalancer}'
427+
--timeout=300s

0 commit comments

Comments
 (0)