From a4594997e863701652b3ff8916480d23e2c68773 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Mon, 25 May 2026 16:07:10 -0300 Subject: [PATCH] SIENTIAPDE-1646 Update values.yaml and connectors_config.py for runtime and environment variable changes - Renamed the runtime entry from "single" to "legacy" in values.yaml for clarity. - Updated the helm upgrade command comment in values.yaml to reflect the correct path for deployment. - Changed the environment variable name from "MLFLOW_HOST" and "MLFLOW_PORT" to "MLFLOW_URL" in connectors_config.py for consistency. --- laborious/utils/connectors_config.py | 3 +-- values.yaml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/laborious/utils/connectors_config.py b/laborious/utils/connectors_config.py index 1e9b0e1..7e5e7f9 100644 --- a/laborious/utils/connectors_config.py +++ b/laborious/utils/connectors_config.py @@ -11,8 +11,7 @@ def build_mlflow_config() -> dict[str, Any]: same string workers and notebooks should use for ``MLFLOW_TRACKING_URI``-style clients. Environment Variables: - MLFLOW_HOST: Host with scheme; port optional if MLFLOW_PORT is set (default: http://localhost) - MLFLOW_PORT: Appended when host has no explicit port (default: 5080) + MLFLOW_URL: Host with scheme MLFLOW_USERNAME: Basic-auth or service user (default: aignosi) MLFLOW_PASSWORD: Password or token (default: aignosi) diff --git a/values.yaml b/values.yaml index 94ddd39..bd6a0ec 100644 --- a/values.yaml +++ b/values.yaml @@ -233,7 +233,7 @@ global: runtimes: basic: replicas: 1 - single: + legacy: replicas: 1 env: - name: "GITHUB_BRANCH" @@ -305,8 +305,8 @@ ssh: # kubectl create secret docker-registry docker-hub-secret --namespace sientia --docker-server=http://aignosi.azurecr.io --docker-username=aignosi --docker-password= # -# helm upgrade --install sientia-laborious-worker sientia/sientia-module -n sientia --create-namespace -f ./values.yaml --version 0.6.5 -# +# helm upgrade --install sientia-laborious-worker /home/grezewave/Documents/projects/sientia/sientia-core-applications/sientia-module -n sientia --create-namespace -f ./values.yaml + # kubectl create secret generic git-ssh-key-sientia-laborious-worker \ # --namespace sientia \ # --from-file=ssh-privatekey=git_key \