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.
2 parents 9b0e4ae + 4ce9b22 commit 7cc05b8Copy full SHA for 7cc05b8
ci/deploy-logging-dependencies/tasks/deploy-minio.yml
@@ -1,3 +1,16 @@
1
+# The minio sometimes fails to deploy, because of:
2
+# no matches for kind "Route" in version "route.openshift.io/v1" ensure CRDs are installed first
3
+#
4
+# Let's try to check if the route is available in the cluster bofere deploying minio
5
+- name: Wait for the route kind to be present in the cluster
6
+ ansible.builtin.command:
7
+ cmd:
8
+ oc api-resources --api-group=route.openshift.io --no-headers
9
+ delay: 10
10
+ retries: 50
11
+ register: output
12
+ until: output.stdout_lines | length != 0
13
+
14
- name: Create minio deployment
15
ansible.builtin.shell:
16
cmd: |
0 commit comments