Add DANM network support through annotations
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / e2term / templates / deployment.yaml
index 993fd52..ed80b84 100644 (file)
@@ -33,6 +33,10 @@ spec:
       release: {{ .Release.Name }}
   template:
     metadata:
+      {{- if .Values.e2term.annotations }}
+      annotations:
+        {{- .Values.e2term.annotations | nindent 8 -}}
+      {{ end }}
       labels:
         app: {{ include "common.namespace.platform" . }}-{{ include "common.name.e2term" . }}
         release: {{ .Release.Name }}
@@ -55,9 +59,9 @@ spec:
                 name: {{ include "common.configmapname.e2term" . }}-env
           ports:
             - name: "rmrroute"
-              containerPort: {{ .Values.e2term.service.rmr.route.port }}
+              containerPort: {{ include "common.serviceport.e2term.rmr.route" . }}
             - name: "rmrdata"
-              containerPort: {{ .Values.e2term.service.rmr.data.port }}
+              containerPort: {{ include "common.serviceport.e2term.rmr.data" . }}
           stdin: true
           tty: true
           securityContext: