Temporary skip to push sampleapp images
[nonrtric.git] / sample-services / hello-world-sme-invoker / hello-world-sme-invoker / templates / deployment.yaml
index 9a31fba..f32bb9a 100644 (file)
 apiVersion: apps/v1
 kind: Deployment
 metadata:
-  name: {{ include "hello-world-sme-invoker.fullname" . }}
-  labels:
-    {{- include "hello-world-sme-invoker.labels" . | nindent 4 }}
+  name: hello-world-sme-invoker-deployment
 spec:
   replicas: {{ .Values.replicaCount }}
   selector:
     matchLabels:
-      {{- include "hello-world-sme-invoker.selectorLabels" . | nindent 8 }}
+      app: hello-world-sme-invoker-container
   template:
     metadata:
       labels:
-        {{- include "hello-world-sme-invoker.selectorLabels" . | nindent 12 }}
+        app: hello-world-sme-invoker-container
     spec:
       containers:
         - 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 }}