From 10f474aad4c828efe7fd2ab7b46a5def27f2640a Mon Sep 17 00:00:00 2001 From: Taewan Kim Date: Thu, 14 Aug 2025 14:48:44 +0900 Subject: [PATCH] Add mme configuration variables to helm configmap template AIMLFW dashboard can access the mme server with the value in the recipe file. Issue-ID: AIMLFW-226 Change-Id: I0227ec3b0f793fdee7280d8a0ef970efd36322c4 Signed-off-by: Taewan Kim --- RECIPE_EXAMPLE/example_recipe_local_images_oran_latest.yaml | 1 + helm/aiml-dashboard/templates/configmap.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/RECIPE_EXAMPLE/example_recipe_local_images_oran_latest.yaml b/RECIPE_EXAMPLE/example_recipe_local_images_oran_latest.yaml index e51a53e..719c244 100644 --- a/RECIPE_EXAMPLE/example_recipe_local_images_oran_latest.yaml +++ b/RECIPE_EXAMPLE/example_recipe_local_images_oran_latest.yaml @@ -67,6 +67,7 @@ aimldashboard: tag: "latest" host: tm_host: "localhost" + mme_host: "localhost" notebook_host: "localhost" debug: "\"false\"" diff --git a/helm/aiml-dashboard/templates/configmap.yaml b/helm/aiml-dashboard/templates/configmap.yaml index a9c0ff0..4390614 100644 --- a/helm/aiml-dashboard/templates/configmap.yaml +++ b/helm/aiml-dashboard/templates/configmap.yaml @@ -24,6 +24,8 @@ data: # Configuration values can be set as key-value properties REACT_APP_TM_HOST: {{ .Values.aimldashboard.host.tm_host }} REACT_APP_TM_PORT: "{{ include "common.serviceport.aiml-dashboard.react-app-tm-port" . }}" + REACT_APP_MME_HOST: {{ .Values.aimldashboard.host.mme_host }} + REACT_APP_MME_PORT: "{{ include "common.serviceport.aiml-dashboard.react-app-modelmgmtservice-port" . }}" REACT_APP_NOTEBOOK_HOST: {{ .Values.aimldashboard.host.notebook_host }} REACT_APP_NOTEBOOK_PORT: "{{ include "common.serviceport.aiml-dashboard.react-app-notebook-port" . }}" AIMLDASHBOARD_PORT: "{{ include "common.serviceport.aiml-dashboard.http" . }}" -- 2.16.6