Add new RMR routes for e2term and e2mgr
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / e2mgr / templates / deployment.yaml
index 5693287..fb27c75 100644 (file)
@@ -33,6 +33,10 @@ spec:
       release: {{ .Release.Name }}
   template:
     metadata:
+      {{- if .Values.e2mgr.annotations }}
+      annotations:
+        {{- .Values.e2mgr.annotations | nindent 8 -}}
+      {{ end }}
       labels:
         app: {{ include "common.namespace.platform" . }}-{{ include "common.name.e2mgr" . }}
         release: {{ .Release.Name }}
@@ -61,7 +65,7 @@ spec:
           stdin: true
           tty: true
           securityContext:
-            privileged: true
+            privileged: {{ .Values.e2mgr.privilegedmode}}
       volumes:
         - name: local-router-file
           configMap: