X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Fe2term%2Ftemplates%2Fdeployment.yaml;h=661f1ca894f5f6520242fdf9c6c92d5e4955c596;hb=9726c1cb9acaaf1bf724390e621e65d5281b0af5;hp=b2aae0f7b1a8d1303199a19932d9c3ad108b2fb7;hpb=c11b514523ffa1e20391974b49f102530f9f02b7;p=ric-plt%2Fric-dep.git diff --git a/helm/e2term/templates/deployment.yaml b/helm/e2term/templates/deployment.yaml index b2aae0f..661f1ca 100644 --- a/helm/e2term/templates/deployment.yaml +++ b/helm/e2term/templates/deployment.yaml @@ -16,6 +16,7 @@ ################################################################################ {{- $topCtx := . }} {{- $health := .Values.health }} +{{- $common_env := .Values.common_env_variables }} {{- range keys .Values.e2term }} {{- $key := . }} {{- with index $topCtx.Values.e2term . }} @@ -126,6 +127,23 @@ spec: envFrom: - configMapRef: name: {{ include "common.configmapname.e2term" $topCtx }}-env-{{ $key }} + env: + - name: SYSTEM_NAME + value: "SEP" + - name: CONFIG_MAP_NAME + value: "{{ $common_env.ConfigMapName }}" + - name: HOST_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName + - name: SERVICE_NAME + value: "{{ $common_env.ServiceName }}" + - name: CONTAINER_NAME + value: "{{ include "common.containername.e2term" $topCtx }}" + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name ports: - name: "rmrroute-{{ $key }}" containerPort: {{ include "common.serviceport.e2term.rmr.route" $topCtx }} @@ -133,7 +151,9 @@ spec: containerPort: {{ include "common.serviceport.e2term.rmr.data" $topCtx }} - name: "sctp-{{ $key }}" containerPort: 36422 - protocol: SCTP + protocol: SCTP + - name: "prmts-{{ $key }}" + containerPort: {{ include "common.serviceport.e2term.prometheus" $topCtx }} stdin: true tty: true securityContext: