Add DANM network support through annotations
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / rtmgr / templates / deployment.yaml
index fd93004..592309e 100644 (file)
@@ -33,6 +33,10 @@ spec:
       release: {{ .Release.Name }}
   template:
     metadata:
+      {{- if .Values.rtmgr.annotations }}
+      annotations:
+        {{- .Values.rtmgr.annotations | nindent 8 -}}
+      {{ end }}
       labels:
         app: {{ include "common.namespace.platform" . }}-{{ include "common.name.rtmgr" . }}
         release: {{ .Release.Name }}
@@ -56,9 +60,9 @@ spec:
               readOnly: true
           ports:
             - name: "rmrroute"
-              containerPort: {{ .Values.rtmgr.service.rmr.route.port }}
+              containerPort: {{ include "common.serviceport.rtmgr.rmr.route" . }}
             - name: "rmrdata"
-              containerPort: {{ .Values.rtmgr.service.rmr.data.port }}
+              containerPort: {{ include "common.serviceport.rtmgr.rmr.data" . }}
       volumes:
         - name: "rtmgrcfg"
           configMap: