From 3fe42ed4b922a7f9a3668baf241c48e6bff26c83 Mon Sep 17 00:00:00 2001 From: Hao Liu Date: Tue, 3 Oct 2023 16:29:05 -0400 Subject: [PATCH] Removing sample awxmeshingress to fix CI sample are used in CI for validation test in current implementation we only support openshift route this will not work on kind clusters correctly and having the sample is causing CI failure --- config/samples/awx_v1alpha1_awxmeshingress.yaml | 6 ------ roles/mesh_ingress/tasks/main.yml | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 config/samples/awx_v1alpha1_awxmeshingress.yaml diff --git a/config/samples/awx_v1alpha1_awxmeshingress.yaml b/config/samples/awx_v1alpha1_awxmeshingress.yaml deleted file mode 100644 index 5fc0f675..00000000 --- a/config/samples/awx_v1alpha1_awxmeshingress.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: awx.ansible.com/v1alpha1 -kind: AWXMeshIngress -metadata: - name: awxmeshingress-sample -spec: - deployment_name: example-awx diff --git a/roles/mesh_ingress/tasks/main.yml b/roles/mesh_ingress/tasks/main.yml index 50c4990b..5310c551 100644 --- a/roles/mesh_ingress/tasks/main.yml +++ b/roles/mesh_ingress/tasks/main.yml @@ -38,6 +38,8 @@ wait_timeout: "120" register: route +# TODO: need to wait until the route is ready before we can get the hostname + - name: Set external_hostname set_fact: external_hostname: "{{ route.result.status.ingress[0].host }}"