X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fappmgr%2Ftemplates%2Fdeployment.yaml;h=fafcb4210a642f709b0d02d600d7f95f2d5caf9e;hb=f63773cf637d9cfa516459cc9a0f951542811aaa;hp=b671152350e57749aea2193de6771d0732a0a2ed;hpb=62b17b9e2ec2a91cc7d84f73821017c7c6b773a8;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml index b6711523..fafcb421 100644 --- a/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml +++ b/ric-platform/50-RIC-Platform/helm/appmgr/templates/deployment.yaml @@ -18,7 +18,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ include "appmgr.fullname" . }} + name: {{ include "common.deploymentname.appmgr" . }} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.namespace" . }}-{{ include "common.name" . }} @@ -31,8 +31,6 @@ spec: matchLabels: app: {{ include "common.namespace" . }}-{{ include "common.name" . }} release: {{ .Release.Name }} - #app.kubernetes.io/name: {{ include "appmgr.name" . }} - #app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: labels: @@ -40,10 +38,6 @@ spec: release: {{ .Release.Name }} spec: hostname: {{ .Chart.Name }} - hostAliases: - - ip: "135.207.143.86" - hostnames: - - "helm.ricinfra.local" imagePullSecrets: - name: {{ include "common.repositoryCred" . }} containers: @@ -52,7 +46,10 @@ spec: imagePullPolicy: {{ include "common.pullPolicy" . }} ports: - name: http - containerPort: {{ .Values.appmgr.containerPort }} + containerPort: {{ .Values.appmgr.service.http.containerPort }} + protocol: TCP + - name: rmr + containerPort: {{ .Values.appmgr.service.rmr.containerPort }} protocol: TCP volumeMounts: - name: config-volume @@ -64,7 +61,7 @@ spec: mountPath: {{ .Values.appmgr.appcertpath }} envFrom: - configMapRef: - name: {{ include "appmgr.fullname" . }}-appenv + name: {{ include "common.configmapname.appmgr" . }}-appenv livenessProbe: #exec: # command: @@ -85,7 +82,7 @@ spec: volumes: - name: config-volume configMap: - name: {{ include "appmgr.fullname" . }}-appconfig + name: {{ include "common.configmapname.appmgr" . }}-appconfig - name: secret-volume secret: secretName: {{ include "common.helmrepositorycred" . }}