From 7896c61f0fe37d1df287e0bbe69a25790c982318 Mon Sep 17 00:00:00 2001 From: Marco Donadoni Date: Mon, 11 Nov 2024 10:53:32 +0100 Subject: [PATCH] feat(config): support OpenSearch deployment in custom namespace (#609) --- reana_workflow_controller/config.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reana_workflow_controller/config.py b/reana_workflow_controller/config.py index 7e4676bf..d341c782 100644 --- a/reana_workflow_controller/config.py +++ b/reana_workflow_controller/config.py @@ -160,9 +160,7 @@ def _env_vars_dict_to_k8s_list(env_vars): ) """OpenSearch enabled flag.""" -REANA_OPENSEARCH_HOST = os.getenv( - "REANA_OPENSEARCH_HOST", "reana-opensearch-master.default.svc.cluster.local" -) +REANA_OPENSEARCH_HOST = os.getenv("REANA_OPENSEARCH_HOST", "reana-opensearch-master") """OpenSearch host.""" REANA_OPENSEARCH_PORT = os.getenv("REANA_OPENSEARCH_PORT", "9200")