Fix the env variables to get from rApp manager 57/12757/1
authoraravind.est <aravindhan.a@est.tech>
Fri, 19 Apr 2024 14:09:28 +0000 (15:09 +0100)
committeraravind.est <aravindhan.a@est.tech>
Fri, 19 Apr 2024 14:09:28 +0000 (15:09 +0100)
Env variables modifed to align with rApp manager to get the values

Issue-ID: NONRTRIC-981
Change-Id: Id55b40fd6f714732c441999da8737d357c6fca1e
Signed-off-by: aravind.est <aravindhan.a@est.tech>
sample-services/hello-world-sme-invoker/hello-world-sme-invoker/templates/deployment.yaml
sample-services/hello-world-sme-invoker/hello-world-sme-invoker/values.yaml

index bbf621a..f32bb9a 100644 (file)
@@ -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 }}
index 94c3b4f..8d86d80 100644 (file)
@@ -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