Skip to content

Commit

Permalink
Update orthanc service name reference to use dynamic namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneBendazzoli93 committed Mar 6, 2025
1 parent aeda10a commit fbad681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAIA/kubernetes_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def get_namespace_details(settings, id_token, namespace, user_id, is_admin=False
maia_workspace_apps['hub'] = "https://" + rule['host'] + path['path']
if path['backend']['service']['name'] == 'maia-xnat':
maia_workspace_apps['xnat'] = "https://" + rule['host'] + path['path']
if path['backend']['service']['name'] == "orthanc-svc":
if path['backend']['service']['name'] == namespace+"-orthanc-svc":

maia_workspace_apps['orthanc'] = "https://" + rule['host'] + path['path']
maia_workspace_apps['ohif'] = "https://" + rule['host'] + path['path'] + "/ohif/"
Expand Down

0 comments on commit fbad681

Please sign in to comment.