Create RMR route listening services. Further integrating charts with common template.
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / appmgr / templates / service-http.yaml
index edc144d..265b1e9 100644 (file)
@@ -19,9 +19,9 @@ 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 }} 
@@ -33,6 +33,6 @@ spec:
       name: "http"
       targetPort: "http"
   selector:
-    app: {{ include "common.namespace" . }}-{{ include "common.name" . }}
+    app: {{ include "common.namespace.platform" . }}-{{ include "common.name.appmgr" . }}
     release: {{ .Release.Name }}