Moving dev back to LF Gerrit
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / appmgr / templates / service-http.yaml
index edc144d..57a7d97 100644 (file)
@@ -19,20 +19,20 @@ apiVersion: v1
 kind: Service
 metadata:
   name: {{ include "common.servicename.appmgr.http" . }}
-  namespace: {{ include "common.namespace" . }}
+  namespace: {{ include "common.namespace.platform" . }}
   labels:
-    app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
+    app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }} 
 spec:
   type: ClusterIP
   ports:
-    - port: {{ .Values.appmgr.service.http.port }}
+    - port: {{ include "common.serviceport.appmgr.http" . }}
       protocol: "TCP"
       name: "http"
       targetPort: "http"
   selector:
-    app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
+    app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
     release: {{ .Release.Name }}