Skip to content

Commit

Permalink
fix(config): remove hard-coded component host name domain (#458)
Browse files Browse the repository at this point in the history
Removes hard-coded infrastructure component host name domain
"svc.local.cluster", since this assumption is not really necessary and
made REANA not to work under some deployment scenarios, such as on
SSL-RIVER.

Closes #457
  • Loading branch information
tiborsimko committed May 6, 2024
1 parent 79accdd commit f2faeaa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions reana_commons/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023 CERN.
# Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023, 2024 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -99,9 +99,7 @@ def load(cls, kind):
"""Kubernetes namespace in which REANA infrastructure is currently deployed."""

REANA_INFRASTRUCTURE_COMPONENTS_HOSTNAMES = {
component_name: (
"{component_prefix}-{component_name}.{namespace}.svc.cluster.local"
).format(
component_name: ("{component_prefix}-{component_name}.{namespace}").format(
component_prefix=REANA_COMPONENT_PREFIX,
component_name=component_name,
namespace=REANA_INFRASTRUCTURE_KUBERNETES_NAMESPACE,
Expand Down

0 comments on commit f2faeaa

Please sign in to comment.