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 7ec6ee9 commit 5c3d436Copy full SHA for 5c3d436
roles/feature-netapp-trident/tasks/post-deploy.yaml
@@ -126,11 +126,16 @@
126
password: "{{ netapp_password | b64encode }}"
127
username: "{{ netapp_username | b64encode }}"
128
129
-## ToDo Add wait-for
130
-# kind: CustomResourceDefinition
131
-# apiVersion: apiextensions.k8s.io/v1
132
-# metadata:
133
- # name: tridentbackendconfigs.trident.netapp.io
+- name: Wait till CRD tridentbackendconfigs is available
+ kubernetes.core.k8s_info:
+ kubeconfig: "{{ cluster_access_kubeconfig }}"
+
+ api_version: apiextensions.k8s.io/v1
134
+ kind: CustomResourceDefinition
135
+ name: tridentbackendconfigs.trident.netapp.io
136
+ wait: yes
137
+ wait_sleep: 10
138
+ wait_timeout: 360
139
140
- name: Create TridentBackendConfig/coe-netapp-san
141
kubernetes.core.k8s:
0 commit comments