Skip to content

Commit 7896c61

Browse files
committed
feat(config): support OpenSearch deployment in custom namespace (#609)
1 parent db9ac05 commit 7896c61

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

reana_workflow_controller/config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ def _env_vars_dict_to_k8s_list(env_vars):
160160
)
161161
"""OpenSearch enabled flag."""
162162

163-
REANA_OPENSEARCH_HOST = os.getenv(
164-
"REANA_OPENSEARCH_HOST", "reana-opensearch-master.default.svc.cluster.local"
165-
)
163+
REANA_OPENSEARCH_HOST = os.getenv("REANA_OPENSEARCH_HOST", "reana-opensearch-master")
166164
"""OpenSearch host."""
167165

168166
REANA_OPENSEARCH_PORT = os.getenv("REANA_OPENSEARCH_PORT", "9200")

0 commit comments

Comments
 (0)