From 72ccf43834922ea6c36366db9e291cd3dfc4cd55 Mon Sep 17 00:00:00 2001 From: rajdeep11 Date: Wed, 22 Feb 2023 11:52:19 +0530 Subject: [PATCH] adding debug variable Issue-Id: AIMLFW-15 Signed-off-by: rajdeep11 Change-Id: I58e5744fc2dd46d7910d8b73cb4ed5d42a82fc90 Signed-off-by: rajdeep11 --- ...example_recipe_local_images_oran_h_release.yaml | 77 ++++++++++++++++++++++ ...recipe_nexus_images_staging_oran_h_release.yaml | 77 ++++++++++++++++++++++ helm/aiml-dashboard/templates/configmap.yaml | 1 + 3 files changed, 155 insertions(+) create mode 100644 RECIPE_EXAMPLE/example_recipe_local_images_oran_h_release.yaml create mode 100644 RECIPE_EXAMPLE/example_recipe_nexus_images_staging_oran_h_release.yaml diff --git a/RECIPE_EXAMPLE/example_recipe_local_images_oran_h_release.yaml b/RECIPE_EXAMPLE/example_recipe_local_images_oran_h_release.yaml new file mode 100644 index 0000000..face5fa --- /dev/null +++ b/RECIPE_EXAMPLE/example_recipe_local_images_oran_h_release.yaml @@ -0,0 +1,77 @@ +# ================================================================================== +# +# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ================================================================================== + +#------------------------------------------------------------------------- +# Global common setting +#------------------------------------------------------------------------- + +traininghost: + ip_address: +tm: + image: + repository: tm + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" + +leofs: + image: + repository: leofs + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" + +dataextraction: + image: + repository: data-extraction + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" + +datalake: + influxdb: + host: + port: + orgname: + bucket: + token: + +kfadapter: + image: + repository: kfadapter + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" + +aimldashboard: + image: + repository: aiml-dashboard + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" + host: + tm_host: "localhost" + notebook_host: "localhost" + debug: "\"false\"" + +aimlnotebook: + image: + repository: aiml-notebook + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" diff --git a/RECIPE_EXAMPLE/example_recipe_nexus_images_staging_oran_h_release.yaml b/RECIPE_EXAMPLE/example_recipe_nexus_images_staging_oran_h_release.yaml new file mode 100644 index 0000000..ee665ca --- /dev/null +++ b/RECIPE_EXAMPLE/example_recipe_nexus_images_staging_oran_h_release.yaml @@ -0,0 +1,77 @@ +# ================================================================================== +# +# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ================================================================================== + +#------------------------------------------------------------------------- +# Global common setting +#------------------------------------------------------------------------- + +traininghost: + ip_address: +tm: + image: + repository: nexus3.o-ran-sc.org:10004/o-ran-sc/aiml-fw-awmf-tm-docker + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "1.0.0" + +leofs: + image: + repository: leofs + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "latest" + +dataextraction: + image: + repository: nexus3.o-ran-sc.org:10004/o-ran-sc/aiml-fw-athp-data-extraction-docker + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "1.0.0" + +datalake: + influxdb: + host: + port: + orgname: + bucket: + token: + +kfadapter: + image: + repository: nexus3.o-ran-sc.org:10004/o-ran-sc/aiml-fw-athp-tps-kubeflow-adapter-docker + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "1.0.0" + +aimldashboard: + image: + repository: nexus3.o-ran-sc.org:10004/o-ran-sc/portal-aiml-dashboard-docker + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "1.0.0" + host: + tm_host: "localhost" + notebook_host: "localhost" + debug: "\"false\"" + +aimlnotebook: + image: + repository: nexus3.o-ran-sc.org:10004/o-ran-sc/portal-aiml-notebook-docker + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "1.0.0" diff --git a/helm/aiml-dashboard/templates/configmap.yaml b/helm/aiml-dashboard/templates/configmap.yaml index ed9bbb8..4ac2647 100644 --- a/helm/aiml-dashboard/templates/configmap.yaml +++ b/helm/aiml-dashboard/templates/configmap.yaml @@ -27,3 +27,4 @@ data: 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" . }}" + REACT_APP_DEBUG: {{.Values.aimldashboard.host.debug}} -- 2.16.6