Skip to content

Commit 1f7f72f

Browse files
committed
Fix wait condition for OpenStack initialization resource
Api version was not set and kind was wrong and due to this it do not wait for the ready state as there is no such resouce in the default api_version v1. This leads to failure of later tasks as operators are not ready.
1 parent b867a2b commit 1f7f72f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roles/kustomize_deploy/tasks/install_operators.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@
364364
when: not cifmw_kustomize_deploy_generate_crs_only
365365
kubernetes.core.k8s_info:
366366
kubeconfig: "{{ cifmw_openshift_kubeconfig }}"
367-
kind: Openstack
367+
api_version: "operator.openstack.org/v1beta1"
368+
kind: OpenStack
368369
namespace: openstack-operators
369370
name: openstack
370371
wait: true

0 commit comments

Comments
 (0)