Skip to content

Commit

Permalink
status: Fix route name
Browse files Browse the repository at this point in the history
When the UI is disable then the route name isn't the same.

Signed-off-by: Dimitri Savineau <[email protected]>
  • Loading branch information
dsavineau authored and rooftopcellist committed Jul 22, 2024
1 parent a643b4c commit bfae713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/eda/tasks/update_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfae713

Please sign in to comment.