X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fe2mgr%2Ftemplates%2Fdeployment.yaml;h=08360458b950d5bc7c19e6016c72942105a8cd0a;hb=refs%2Fchanges%2F16%2F416%2F4;hp=b4561e83ccb2f0d0986b6d864b676a5abd69da61;hpb=033ab424056c2de6bdbc22479e961aeebbaddd37;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/e2mgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/e2mgr/templates/deployment.yaml index b4561e83..08360458 100644 --- a/ric-platform/50-RIC-Platform/helm/e2mgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/e2mgr/templates/deployment.yaml @@ -18,7 +18,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "e2mgr.fullname" .}} + name: {{ include "common.deploymentname.e2mgr" .}} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.namespace" . }}-{{ include "common.name" . }} @@ -26,7 +26,7 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: - replicas: {{ .Values.replicaCount }} + replicas: {{ .Values.e2mgr.replicaCount }} selector: matchLabels: app: {{ include "common.namespace" . }}-{{ include "common.name" . }} @@ -42,7 +42,7 @@ spec: - name: {{ include "common.repositoryCred" . }} containers: - name: {{ include "common.namespace" . }}-{{ include "common.name" . }} - image: {{ include "common.repository" . }}/{{ .Values.image.name }}:{{ .Values.image.tag }} + image: {{ include "common.repository" . }}/{{ .Values.e2mgr.image.name }}:{{ .Values.e2mgr.image.tag }} imagePullPolicy: {{ include "common.pullPolicy" . }} volumeMounts: - mountPath: /opt/E2Manager/router.txt @@ -50,12 +50,12 @@ spec: subPath: router.txt env: - name: RMR_RTG_SVC - value: "{{ .Values.env.RMR_RTG_SVC }}" + value: "{{ .Values.e2mgr.env.RMR_RTG_SVC }}" ports: - - name: {{ .Values.service.http.name }} - containerPort: {{ .Values.service.http.port }} - - name: {{ .Values.service.nano.name }} - containerPort: {{ .Values.service.nano.port }} + - name: {{ .Values.e2mgr.service.http.name }} + containerPort: {{ .Values.e2mgr.service.http.port }} + - name: {{ .Values.e2mgr.service.nano.name }} + containerPort: {{ .Values.e2mgr.service.nano.port }} stdin: true tty: true securityContext: @@ -63,4 +63,4 @@ spec: volumes: - name: local-router-file configMap: - name: {{ include "e2mgr.fullname" . }}-router-configmap + name: {{ include "common.configmapname.e2mgr" . }}-router-configmap