Defining all port numbers in common template
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / e2mgr / templates / deployment.yaml
index 330f123..5693287 100644 (file)
@@ -53,11 +53,11 @@ spec:
                 name: {{ include "common.configmapname.e2mgr" . }}-env
           ports:
             - name: "http"
-              containerPort: {{ .Values.e2mgr.service.http.containerPort }}
+              containerPort: {{ include "common.serviceport.e2mgr.http" . }}
             - name: "rmrroute"
-              containerPort: {{ .Values.e2mgr.service.rmr.route.port }}
+              containerPort: {{ include "common.serviceport.e2mgr.rmr.route" . }}
             - name: "rmrdata"
-              containerPort: {{ .Values.e2mgr.service.rmr.data.port }}
+              containerPort: {{ include "common.serviceport.e2mgr.rmr.data" . }}
           stdin: true
           tty: true
           securityContext: