From bfae7131607c110496cfcf047aa26fd8117f2844 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Mon, 22 Jul 2024 11:48:17 -0400 Subject: [PATCH] status: Fix route name When the UI is disable then the route name isn't the same. Signed-off-by: Dimitri Savineau --- roles/eda/tasks/update_status.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/eda/tasks/update_status.yml b/roles/eda/tasks/update_status.yml index c5fed3dd..de2a4147 100644 --- a/roles/eda/tasks/update_status.yml +++ b/roles/eda/tasks/update_status.yml @@ -41,7 +41,7 @@ api_version: 'route.openshift.io/v1' kind: Route namespace: '{{ ansible_operator_meta.namespace }}' - name: '{{ ansible_operator_meta.name }}' + name: '{{ ui_disabled | bool | ternary(ansible_operator_meta.name + "-api", ansible_operator_meta.name) }}' register: route_url - name: Update URL status