From 5dd9e2d24bacf2d403c76304284edfcbabeb5d4b Mon Sep 17 00:00:00 2001 From: "aravind.est" Date: Fri, 19 Apr 2024 15:09:28 +0100 Subject: [PATCH] Fix the env variables to get from rApp manager Env variables modifed to align with rApp manager to get the values Issue-ID: NONRTRIC-981 Change-Id: Id55b40fd6f714732c441999da8737d357c6fca1e Signed-off-by: aravind.est --- .../hello-world-sme-invoker/templates/deployment.yaml | 6 +++--- .../hello-world-sme-invoker/hello-world-sme-invoker/values.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml index bbf621a2..f32bb9ad 100644 --- a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml +++ b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml @@ -36,10 +36,10 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" env: - - name: RAPP_INSTANCE_ID - value: "{{ .Values.environment.RAPP_INSTANCE_ID }}" + - name: APP_ID + value: "{{ .Values.environment.appId }}" - name: SME_DISCOVERY_ENDPOINT - value: "{{ .Values.environment.SME_DISCOVERY_ENDPOINT }}" + value: "{{ .Values.environment.smeDiscoveryEndpoint }}" ports: - name: http containerPort: {{ .Values.service.port }} diff --git a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml index 94c3b4f0..8d86d801 100644 --- a/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml +++ b/sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml @@ -29,7 +29,7 @@ service: port: 8080 environment: - APP_ID: Invoker_Rapp_Id - SME_DISCOVERY_ENDPOINT: capifcore.nonrtric.svc.cluster.local:8090/service-apis/v1/allServiceAPIs + appId: Invoker_Rapp_Id + smeDiscoveryEndpoint: capifcore.nonrtric.svc.cluster.local:8090/service-apis/v1/allServiceAPIs -- 2.16.6