Skip to content

Commit e335338

Browse files
karelyatinpablintino
authored andcommitted
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 d1242e4 commit e335338

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
@@ -373,7 +373,8 @@
373373
when: not cifmw_kustomize_deploy_generate_crs_only
374374
kubernetes.core.k8s_info:
375375
kubeconfig: "{{ cifmw_openshift_kubeconfig }}"
376-
kind: Openstack
376+
api_version: "operator.openstack.org/v1beta1"
377+
kind: OpenStack
377378
namespace: openstack-operators
378379
name: openstack
379380
wait: true

0 commit comments

Comments
 (0)